title | description | tags | |||
---|---|---|---|---|---|
Django |
A Django application that connects to a PostgreSQL database |
|
Django Example
This is a Django application that connects to a Railway Postgres database.
✨ Features
- Python
- Django
- Postgres
💁♀️ How to use
- Create a Railway project with the Postgres plugin
- Connect to your Railway project with
railway link
- Install Python requirements
pip install -r requirements.txt
- Migrate the database
railway run python3 manage.py migrate
- Run Django
railway run python3 manage.py runserver
📝 Notes
Read more about Django at their official documentation.