HUB
Sign inSign up

clabs/gla-sails

By clabs

•Updated over 10 years ago

gla-sails component of the glapp student project

Image
0

368

clabs/gla-sails repository overview

⁠GLA Backend

⁠Pre-requisites

⁠Prepare

  • Copy your .pem files into /swarmcerts on whatever machine the components are going to run on
  • Set the environment variable SWARM_HOST to the swarm-host IP:port (e.g. SWARM_HOST=192.168.99.101:3376). If no port is declared, 3376 is assumed.

⁠Run

  • Start app with docker-compose up -d

⁠Test

  • Since this will run the tests locally and not in a docker container, Node.js⁠ is required
    • Install the dependencies locally with npm install
  • Make sure the test images are pulled on the swarm so the tests don't time out: docker pull bfirsh/compose-mongodb-demo && docker pull mongo
  • Start the tests with npm test
Tag summary
Recent tags
Content type
Image
Digest
Size
149.8 MB
Last updated
over 10 years ago
docker pull clabs/gla-sails:latest