This project is intended to provide a nice and comfortable way to start a new project with Django and it's common settings.
- Install a database(use only one of these methods):
- Bare metal install:
- download and install PostgreSQL
- open your database client (such as pgAdmin) and create a user with a password, such
as
root
and passwordtoor
- create a new database and give it a name (for example
template
) and set collation toUTF-8
- Using Docker (if you have Windows Home edition then
install Docker for Win 10 Home):
- download and install Docker
- open a CMD or Git Bash Shell and go (change directory / cd) to the
database
folder of this project - run
dir
in CMD orls
in Git Bash Shell and if you don't seedocker-compose.yml
file then you're in the wrong directory. Try again... - if you see
docker-compose.yml
file, then rundocker network create pdb
and thendocker-compose up -d
- open in browser
localhost:8085
, log in withadmin@example.com
username andadmin
password - create a new database and give it a name (for example
template
) and set collation toUTF-8
- Bare metal install:
- Install Python and make sure to select Add Python 3.9 to PATH when installation wizard appears
- Copy
template.config.yml
toconfig.yml
and add your specific configuration. The most important ones areSECRET_KEY
,DB_NAME
,DB_PASSWORD
- Run
setup.bat