Create .env file in the root of project(/realty) where settings.py located and set the variables:
SECRET_KEY=YOUR_SECRET_KEY
DB_NAME=YOUR_DB_NAME
DB_USER=YOUR_DB_USERNAME
DB_PASSWORD=YOUR_DB_PASSWORD
DB_HOST=YOUR_HOST(e.g. localhost)
DB_PORT=YOUR_PORT(default=5432)Python requirements:
pip install -r requirements.txtMigrate database:
python manage.py migrateAnd finally, run server.
python manage.py runserver