Howard and Yvette are an awesome team!
- First start MongoDB
mongod
- Then start the server in dev mode
npm run dev
- Get the code ready for Prod like this...
cd frontend && npm run build && cd .. && node server
-
Change the NODE_ENV setting in process.env to development
-
Then check it like this
http://localhost:8080
-
Git commit
-
To deploy run this:
export PATH=~/Library/Python/2.7/bin/:$PATH
- Then
eb deploy
Make sure that elastic beastalk has this environment setting
NODE_ENV = production