This repository has been archived on 2022-05-05. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
userausfall/README.md

628 B
Raw Permalink Blame History

Userausfall

User account management for systemausfall.org

Quick Development Setup

Bootstrap your venv and project (youll need to do this only once):

# Create a virtual environment
python3 -m venv --system-site-packages venv
# Activate your venv
. venv/bin/activate
# Install dependencies
pip install --editable .

In the future just run:

# Activate your venv
. venv/bin/activate
# Configure the settings
export DJANGO_SETTINGS_MODULE=userausfall.settings
# Apply database migrations
python3 -m django migrate

Start the API development server with:

python3 -m django runserver