pip install -r requirements.txt
./manage.py migrate
docker run -p 6379:6379 -d redis:5
npm run dev
./manage.py runserver
If you want to run in production mode:
npm run build
PRODUCTION=1 ./manage.py collectstatic --noinput
PRODUCTION=1 HOSTNAME=localhost ./manage.py runserver
sudo apt install redis-server python3.11-venv supervisor
python3.11 -m venv virtualenv
source virtualenv/bin/activate
git clone https://github.com/jieter/planning-poker.git
deploy/deploy.sh
Then use
deploy/supervisor.conf
as a template with supervisor
to run daphne
, taking care to add correct environment forSECRET_KEY
HOSTNAME
PRODUCTION=1
deploy/nginx-site.conf
as a template with nginx
to act as a reverse proxy.