Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Local Setup Documentation #1493

Merged
merged 11 commits into from
Oct 21, 2023
30 changes: 30 additions & 0 deletions Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,36 @@ from the host machine.
python manage.py runserver
```

### Alternative using Poetry
```sh
brew install postgresql

# Install postgres on ubuntu
sudo apt-get install postgresql

# Install Poetry
pip install poetry

poetry shell

poetry install

# Create tables in the database
python manage.py migrate

# Load initial data
python3 manage.py loaddata website/fixtures/initial_data.json

# Create a super user
python manage.py createsuperuser

# Collect static files
python manage.py collectstatic

# Run the server
python manage.py runserver
```

### Ready to go now

Then go to `http://127.0.0.1:8000/admin/socialaccount/socialapp/` and add filler information for social auth accounts.
Expand Down