-
Notifications
You must be signed in to change notification settings - Fork 0
Home
marsofjkic edited this page Jun 27, 2023
·
3 revisions
OddSlingers is an online poker platform.
Welcome to the Oddslingers documentation!
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
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.
- Project Directory Structure
- Configuration
- Running Tests & Linters
- Dependency Documentation
- Debugging & Profiling Tools
- Git Flow & Making Pull Requests
- Deploying
- Style Guide
For more info explore the topics in the sidebar to the right... ➡