The clean, fast and right way to start a new Django 4.0.5
powered website.
Setup project environment with virtualenv and pip.
$ virtualenv project-env
$ source project-env/bin/activate
$ pip install -r https://raw.githubusercontent.com/KevinArce/Django-Ecommerce/master/requirements.txt
# You may want to change the name `projectname`.
$ django-admin startproject --template https://github.com/KevinArce/Django-Ecommerce/archive/master.zip django-ecommerce
$ cd django-ecommerce/
$ 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.