- This is the vagrant/ansible project part of Parefull.
- See application notes on the parefull-heroku project.
- Checkout both devops and heroku project under one parent folder.
/parefull
/parefull-devops
/parefull-heroku
- Make sure you have user accounts handy for provisioning questions
- S3 key id
- S3 access key
- Run from cmd line in parefull-devops folder. This will ask you for any sensitive information needed for app to run locally.
parefull-devops$ vagrant up
- start nodejs server
$ DEBUG=helloworld:* npm start
- To refresh collections with test data
$ cd provisioning/roles/mongodb/
$ mongoimport --db local --collection bits --drop --file parefull-bits-testdata.json
$ mongoimport --db local --collection scores --drop --file parefull-scores-testdata.json