Sign inSign up

squarescale/sqsc-demo-app

By squarescale

•Updated almost 4 years ago

Mandelbrot demo.

Image
0

2.7K

squarescale/sqsc-demo-app repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

130.9 MB

Last updated

about 6 years ago

docker pull squarescale/sqsc-demo-app