Skip to content

gathering/tg-ctm

Repository files navigation

!!! This project is no longer maintained

TG-CTM

The Gatherings Common Task Management

Setup

The best way to go about this is to use Docker. Pull this repo, then run:

docker compose up -d --build
docker compose exec app python manage.py migrate

After this, you might want to create a user for logging in:

docker compose exec app python manage.py createsuperuser

This user can be used to login in the admin panel, found here: /admin

Local development

Prerequisites

  • pyenv: Used to manage Python versions.
  • poetry: Dependency management and packaging tool for Python.
  • nvm: Node Version Manager, used to manage Node.js versions.
  • .env file: Copy the example.env file to .env and fill in the required environment variables.

Steps

  1. Install pyenv:
  • Follow the instructions on the pyenv GitHub repository to install pyenv.
  • Install the required Python version for the project:
    pyenv install -s
  1. Install poetry:
  • Follow the instructions on the poetry documentation to install poetry.
  • Install project dependencies:
    poetry install
  1. Install nvm:
  • Follow the instructions on the nvm GitHub repository to install nvm.
  • Install the required Node.js version for the project:
    nvm install
  1. Install django-tailwind dependencies:
  • poetry run python src/manage.py tailwind install
  1. Run the Project:
  • Apply migrations and start the development server: (you need two terminals running simultaneously)
    # terminal 1
    poetry run python src/manage.py tailwind start
    # terminal 2
    poetry run python src/manage.py migrate
    poetry run python src/manage.py runserver
  1. Create a superuser:
  • Create a superuser to access the Django admin panel:
    poetry run python src/manage.py createsuperuser
  • Log in via the admin panel at /admin.

About

The Gatherings Common Task Management system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors