Skip to content

Antony-M1/shopscoop

Repository files navigation

shopscoop

Django, django, shopscoop

Prerequisites

  • Python3.11
  • Postgresql 16

.env

Basically the .env file contains the environment variables. Rename the .env.example to .env file and fill the needed variables.

Media

Create a folder with the name of media inside the Project

Postgres backup and restore

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 ```

Issues

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