Skip to content

apiacademy/cardgame-srvc-arbiter

Repository files navigation

cardgame-srvc-arbiter

Arbiter Service (Core Domain) of the CardGame

Documentation: https://github.com/apiacademy/cardgame-srvc-arbiter/wiki

Installation

  1. Install Docker and Docker Compose. 2. For Ubuntu, you can use Ansible Scripts we wrote. 3. For Mac or Windows you should use Docker Machine via Docker Toolbox 4. If you prefer Paralles over VirtualBox, for powering Docker Machine, you need to follow their instructions at: http://kb.parallels.com/en/123356

  2. Make sure your Docker daemon is up and running, e.g. on Ubuntu: sudo service docker start

  3. Install developer container:

    git clone https://github.com/apiacademy/cardgame-srvc-arbiter.git
    cd cardgame-srvc-arbiter
    docker-compose up -d
  4. You can view logs with: docker logs -tf [containername] where [containername] can be obtained by running docker ps

  5. You can edit files directly in the git checkout. Container will hot-reload code on edits.

  6. Please submit an issue to the issue queue if you find any problems

Troubleshooting

If for whatever reason you cannot use Docker Compose (e.g. if you are using Boot2Docker CLI instead of Docker Machine), you can try manual approach:

```console
docker build -t cardgame .
docker run -ti -d --name cardgame-redis redis
docker run -ti -d -p 5000:3000 -v $PWD:/opt/application --link cardgame-redis:cardgame-redis --name cardgame-api cardgame
```

About

Arbiter Service (Core Domain) of the CardGame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published