rissem / massively-parallel-acceptance-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

massively-parallel-acceptance-tests

  1. First, build a container to run Meteor apps using the Dockerfile docker build -t unfairbanks/meteor-acceptance:dev .

  2. Start a mongo container

  3. docker run --name mongo -P library/mongo:2.8.0

  4. Start the meteor build container

  5. docker run -P --volume pwd:/app -it --link mongo:mongo unfairbanks/meteor-acceptance:dev bash

  6. MONGO_URL=mongodb://$MONGO_PORT_27017_TCP_ADDR:$MONGO_PORT_27017_TCP_PORT/testdb PORT=3000 meteor

  7. Start a bunch of app servers that run off the Meteor bundle.

  8. docker run -P --volume pwd:/app -it --link mongo:mongo unfairbanks/meteor-acceptance:dev bash

  9. ROOT_URL="http://localhost:3000" MONGO_URL=mongodb://$MONGO_PORT_27017_TCP_ADDR:$MONGO_PORT_27017_TCP_PORT/testdb PORT=3000 node .meteor/local/build/main.js

About


Languages

Language:JavaScript 93.9%Language:CSS 6.1%