Skip to content
No description, website, or topics provided.
JavaScript HTML CSS Shell Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
debug
public
test/app
.bowerrc
.editorconfig
.gitignore
.travis.yml
.yo-rc.json
Dockerfile
LICENSE
README.md
app.js
bower.json
gulpfile.js
package-lock.json
package.json
run_local_demo.sh
yarn.lock

README.md

Getting started

Make sure you have npm, gulp and bower installed Run: gulp to run the local server at localhost:3000, the gulp tasks include live reloading for views, css in public/css and restarting the server for changes to app.js or js in routes/

Testing

Tests are written with mocha.

  • Install: npm install -g mocha
  • Run: mocha or npm test

Documentation

Deploy on SquareScale

This app needs to be deployed along:

Mandatory common environment variables to add:

  • PROCESSING_QUEUE_NAME: any name
  • READING_QUEUE_NAME: any name
  • NODE_ENV: production
  • PROJECT_DB_USERNAME: already provided by Squarescale
  • PROJECT_DB_PASSWORD: already provided by Squarescale
  • PROJECT_DB_NAME: already provided by Squarescale
  • RABBITMQ_HOST: url of rabbitmq service in the cluster, usually rabbitmq.service.consul
You can’t perform that action at this time.