32 lines
628 B
Markdown
32 lines
628 B
Markdown
# Userausfall
|
||
|
||
User account management for systemausfall.org
|
||
|
||
## Quick Development Setup
|
||
|
||
Bootstrap your venv and project (you’ll need to do this only once):
|
||
|
||
```shell
|
||
# 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:
|
||
```shell
|
||
# 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:
|
||
```shell
|
||
python3 -m django runserver
|
||
```
|