- 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)
- 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)
- 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_KEYDB_NAMEDB_PASSWORD
- Run
setup.bat
This repository was archived by the owner on Dec 3, 2022. It is now read-only.
gdsc-upt/opportunity-backend
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Releases
No releases published
Generated from gdsc-upt/django-template-project