planning-poker Svelte Themes

Planning Poker

Estimation poker using django-channels with a Svelte front-end

Planning poker based on django-channels

  • No user management, just type a name and share the url.
  • 2 decks: T-shirt sizes & modified fibonacci.
  • No special admin roles: every participant can reveal, clear and change the deck.

Local development

  1. Create a virtual environment
  2. Install the requirements: pip install -r requirements.txt
  3. Apply the migrations: ./manage.py migrate
  4. Start a Redis server for backing storage: docker run -p 6379:6379 -d redis:5
  5. Compile the JavaScript files: npm run dev
  6. Run the server: ./manage.py runserver
  7. Navigate to http://localhost:8004/ to start a new session

If you want to run in production mode:

  1. npm run build
  2. PRODUCTION=1 ./manage.py collectstatic --noinput
  3. PRODUCTION=1 HOSTNAME=localhost ./manage.py runserver

Running on regular ubuntu 22.04

  1. sudo apt install redis-server python3.11-venv supervisor
  2. python3.11 -m venv virtualenv
  3. source virtualenv/bin/activate
  4. git clone https://github.com/jieter/planning-poker.git
  5. Run deploy/deploy.sh

Then use

  • deploy/supervisor.conf as a template with supervisor to run daphne, taking care to add correct environment for
    • SECRET_KEY
    • HOSTNAME
    • PRODUCTION=1
  • deploy/nginx-site.conf as a template with nginx to act as a reverse proxy.

Top categories

Loading Svelte Themes