Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
app
test/spec
Procfile
README.md
Vagrantfile
npm-shrinkwrap.json
package.json
start.sh
vagrant-node.sh
vagrant-utils.sh
watch_tests.sh

README.md

Sinkohippa backend

Dependencies

Following packages are needed to run the backend:

Installation

Install node from http://nodejs.org/download/

Install foreman with gem:

gem install foreman

After that install project dependencies with npm install

Running

foreman start backend

To test that backend server is running correctly, go to http://localhost:5000 with your browser

Running tests

npm run test

If you want to watch test and only run changed ones, you need to have fswatch installed. After installing that, run:

./watch_tests.sh

Vagrant

There is also Vagrantfile so setupping the backend couldn't be easier: Install Vagrant from http://www.vagrantup.com/ and after that type:

vagrant up

Installation script also introduces debug alias which can be used to run the node in debug-mode. see ~/.bash_aliases for more details

Something went wrong with that request. Please try again.