/gozer

Primary LanguageRubyMIT LicenseMIT

Run with compose

grunt First drop non tracked files, like: node_modules and bower_components; If it's a new git clone or you never used it locally without docker you can skip this step.

git clean -df

Now run docker compose

docker-compose up -d auth
docker-compose up -d rethink api webui
docker-compose up -d beanstalkd agent

Add 4 more agents

docker-compose scale agent=4

Start backend

Start beanstalkd container

docker run -d -p 11300:11300 schickling/beanstalkd

Start rethinkdb container

docker run --name rethink  -p 8080:8080 -p 28015:28015  -d rethinkdb

Run auth server

cd auth
rails s

Run api

cd api
bundle exec puma

Run agent

cd agent
./bin/agent.rb

Run web

cd webui
grunt serve

Run API tests

RethinkDB must be running.

cd api
bundle exec rspec