Your one-stop Pokémon fan community and database.
On OS X:
$ git clone https://github.com/thetallgrassnet/pokesite.git
$ cd pokesite
$ bin/setup
$ docker-compose up
The servers will be listening on the following ports:
- Web server: 48460
- Development Neo4j server: 48461
- Testing Neo4j server: 48462
Ctrl+Z
to suspend docker-compose up
but leave the containers running in the
background, or open a new terminal.
$ docker attach pokesite_web_1
Ctrl+P Ctrl+Q
to detach from Guard, then fg
to return to docker-compose up
if you suspended it with Ctrl+Z
.
$ docker-compose stop
$ git pull
$ docker-compose run --rm web bundle
$ docker-compose run --rm web bin/rspec
$ docker-compose run --rm web COMMAND [ARGUMENTS]
For example, to start a Rails console:
$ docker-compose run --rm web bin/rails c
Ctrl+C
from docker-compose up
, and to be sure everything is down:
$ docker-compose stop