Skip to content

The Django + React codebase powering the free, open-source poker platform: OddSlingers.com

License

Notifications You must be signed in to change notification settings

Monadical-SAS/oddslingers.poker

Repository files navigation

Oddslingers Gaming Codecov License: LGPL v3

♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️

Project Quickstart

# make sure you've installed docker: https://docs.docker.com/engine/install/
# and docker-compose: https://docs.docker.com/compose/install/
# you may also have to add your user to the docker group: https://docs.docker.com/engine/install/linux-postinstall/

git clone https://github.com/monadical-sas/oddslingers.poker.git
cd oddslingers.poker

# 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
# Build the docker images

Documentation

We use the Github Wiki for documentation, head over there for more info...

Issue Tracking

To get started, check out some of our "Green Light" issues in the issue tracker.

Or, look for issues to work on in your Project Board.

♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️🂡♥️🂱♣️🃑♦️🃁♠️