It's exactly what you think it is.
- Staging: http://thoughtbnb-staging.herokuapp.com/
- Production: http://thoughtbnb.herokuapp.com/
This application uses google maps javascript API to insert locations. You will need to get your own API key. Follow the following instructions
vagrant plugin install vagrant-cachier
vagrant up
vagrant ssh
cd /vagrant
npm install
GMAPKEY=<keyFromInstructionAbove> EMAIL_TRANSPORT=mailcatcher npm start
Starts the website at http://192.168.33.15:3000
In order to reload the app on changes, use nodemon ./bin/www
instead of npm start
If you're working in an area without an internet connection, use set the flag USE_LOCAL_ASSETS to true
Note: bcrypt is compiled specifically for your OS during npm install, so if you run npm install
on OS X, then it will break in Ubuntu, and vice versa. To fix, remove node_modules/bcrypt and then do npm install
again from the OS you wish to start the app from.
Build the docker image with ./build_docker.sh
Start the containers with ./start_app_docker.sh
You need to manually seed the DB with the following commands:
docker exec -it thoughtbnb_app_1 /bin/bash
cd /opt/thoughtbnb
seed
- node.js
- npm
- mongodb
- grunt-cli and nodemon npm packages (globally)
npm install -g grunt-cli nodemon
Start mongodb, then
npm install
npm start
The database has been pre-populated. To login, use [email protected] and test as password