henkkx / gh-planning-poker

Web-Based Planning Poker with Github Integration
https://gh-planning-poker.herokuapp.com/
6 stars 1 forks source link

Planning Poker with Github Integration

Backend

Frontend

Dev workflow

Without Docker

Backend

Create a virtual environment

cd backend

python3 -m venv ve

source ve/bin/activate

pip install -U pip

pip install -r requirements.txt

Run django app

python manage.py runserver

making and running migrations

python manage.py makemigrations

python manage.py migrate

Frontend

Install dependencies.

cd frontend

npm i

Run dev server

npm start

Cheatsheet for Developing with Docker

Make sure Docker is running

While in the root directory, build docker images and run them with docker-compose. This might take up to few minutes. make sure to rebuild images after installing new packages.

docker-compose up --build

the app is now running!

If images have been built, just run:

docker-compose up -d

Bringing down containers with optional -v flag removes all attached volumes and invalidates cache.

docker-compose down

To run commands in active container:

docker exec -it CONTAINER_ID bash