Greenfield Project for HackReactor
Run these commands from the root directory
- $ npm install
- $ npm install --save-dev webpack babel-loader@6.2.x http-server@0.9.x (sometimes this dependency does not install correctly)
- $ brew install mysql
- $ mysql.server stop (make sure you dont have one running)
- $ mysql.server start
- $ mysql -u root < src/schema.sql (runs sql file)
- $ NODE_ENV=production node_modules/.bin/babel-node --presets react,es2015 src/server.js
- $ NODE_ENV=production node_modules/.bin/webpack --progress --watch