Skip to content
marsofjkic edited this page Jun 27, 2023 · 3 revisions

Oddslingers

Oddslingers logo

OddSlingers is an online poker platform.


Welcome to the Oddslingers documentation!

Quickstart

git clone https://github.com/React-Guru-Org/poker-game.git
cd poker-game

# Add to /etc/hosts  ->   127.0.0.1    oddslingers.l 

docker-compose run django ./manage.py migrate
docker-compose run django ./manage.py createsuperuser
docker-compose up

# Open http://oddslingers.l

Commands

From here, you could begin to do changes in the codebase and to run these commands for developing tasks:

# For installing yarn packages
docker-compose run --rm django oddslingers yarn_install

# For testing
docker-compose run --rm django oddslingers testpy
docker-compose run --rm django oddslingers testjs

# For linting
docker-compose run --rm django oddslingers lintpy
docker-compose run --rm django oddslingers lintjs

# For rebuilding docker images and update the python packages
docker-compose build

Some useful docker-compose commands:

# Start the stack
docker-compose start

# Stop the stack
docker-compose stop

# List the services
docker-compose ps

# Init the stack
docker-compose up

# Destroy the stack (This delete the docker containers)
docker-compose down

You can get more information about docker-compose running in Docker Compose page.

Getting Started:

Getting into it:

The heart of it:

For more info explore the topics in the sidebar to the right... ➡