-
Notifications
You must be signed in to change notification settings - Fork 11
Setup
Paul Dilyard edited this page Sep 29, 2015
·
11 revisions
- Install Vagrant
- Install VirtualBox
- Clone this repository
cp config/config_example.js config/config.js- Open
config/config.jsand enter desired values vagrant upnpm run build
Simply run: npm test
This will SSH into the VM and run the mocha tests.
To run the server on your VM, you have to options. To run it and see all the logging statements on your screen, just type npm run server.
To start the server in the "background" with PM2, just type: npm start.
We're running Ubuntu 14.04LTS in production. The provision.sh script should install and setup everything you need to run the app, as long as you put the repository in /var/www/kenthackenough.
- Clone this repository
cp config/config_example.js config/config.js- Open
config/config.jsand enter desired values ./provision.shnpm installnpm rebuildpm2 start processes.json