https://github.com/rishav394/commutify-django
https://github.com/rishav394/commutify-django
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rishav394/commutify-django
- Owner: rishav394
- Created: 2021-03-14T16:51:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-28T18:25:54.000Z (over 5 years ago)
- Last Synced: 2025-03-16T13:25:36.073Z (over 1 year ago)
- Language: Python
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Commutify-django
REST server for [Commutify](https://github.com/rishav394/Commutify) app
## How to run locally
### Prerequisite
1. Python >3.6
2. MySQL >5.7
3. `mysql -> CREATE DATABASE commutify_db;`
### Setup and Run
```bash
python -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
cp commutify/settings/development_settings.py commutify/settings/production_settings.py
cp commutify/settings/settings.py.bak commutify/settings/settings.py
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
```
### Running on production
Same setup as local but make sure to make changes to `production_settings.py`