The goal of this project to learn how to install django and start new project, create new application and DO NOT show secret key in my repo.
P.S. Among other things to consolidate skills with the creation of virtual environment, creating a .gitignore, creating requirement.txt etc.
- Create new repo.
- Use
git clone
. - Create virtual environment.
- Create
.gitignore
. - Add to
.gitignore
venv, database, .idea. - Create
requirement.txt
. - Initiate new django project
django_example
. - Create new application
catalog
. - Add this app to
INSTALLED_APPS
. - Check that
SECRET_KEY
takes from the environment values. - Describe the project in
README.md
. git commit
,git push
,pull request
,merge
.
- Create new project.
$ django-admin startproject django_example .
- Create new application.
$ python manage.py startapp catalog
ISC