python3.10 -m venv venv
pip install -r requirements.txt
CREATE DATABASE <database_name>;
CREATE USER <username> WITH PASSWORD <password>;
GRANT ALL PRIVILEGES ON DATABASE <database_name> TO <username>;
SECRET_KEY='Your Secret Key generated by https://djecrety.ir'
DEBUG='Status of debug of the proejct'
ALLOWED_HOSTS=''
DB_NAME='<database_name>'
DB_USER='<username>'
DB_PASSWORD='<password>'
DB_HOST='localhost'
DB_PORT=5432
python manage.py migrate
-
First, you should install Docker
-
Then clone the project:
https://github.com/PEMIDI/cv-builder.git
docker compose up
- First:
docker exec -it cv_web bash
- Then:
python3 manage.py migrate