🔥blog-backend-ysf.herokuapp.com
Setup project environment with virtualenv and pip.
$ virtualenv project-env
$ source project-env/bin/activate
$ pip install -r https://github.com/ysfoz/react-django-backend-/blob/main/requirements.txt
$ cd projectname/
$ cp settings_custom.py.edit settings_custom.py
$ python manage.py migrate
$ python manage.py runserver
- Basic Django scaffolding (commands, templatetags, statics, media files, etc).
- Split settings in two files.
settings_custom.py
for specific environment settings (localhost, production, etc).projectname/settings.py
for core settings. - Simple logging setup ready for production envs.
I love contributions, so please feel free to fix bugs, improve things, provide documentation. Just send a pull request.