Django, django, shopscoop
- Python3.11
- Postgresql 16
Basically the .env
file contains the environment variables.
Rename the .env.example to .env file and fill the needed variables.
Create a folder with the name of media inside the Project
postgres backup
``` pg_dump -h localhost -U {postgres_user} -d {db_name} -Fc -f {filename}.dump ```postgres restore
``` pg_restore -h localhost -p 5432 -U {postgres_user} -d {db_name} {filename}.dump ```psycopg installing issues
If you facing any issues while install psycopg
please refere this link.
Or run this command
sudo apt-get install libpq-dev