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
rootand 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
databasefolder of this project - run
dirin CMD orlsin Git Bash Shell and if you don't seedocker-compose.ymlfile then you're in the wrong directory. Try again... - if you see
docker-compose.ymlfile, then rundocker network create pdband thendocker-compose up -d - open in browser
localhost:8085, log in withadmin@example.comusername andadminpassword - 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.ymltoconfig.ymland add your specific configuration. The most important ones areSECRET_KEY,DB_NAME,DB_PASSWORD - Run
setup.bat