cv-builder
                                
                                 cv-builder copied to clipboard
                                
                                    cv-builder copied to clipboard
                            
                            
                            
                        A CV-builder app, made by Django REST Framework
CV-Builder
   
Setup Guide, step by step:
Create a Python Virtual Environment
python3.10 -m venv venv
Install the Packages
pip install -r requirements.txt
Create your database
Open your postgresql shell with psql command
Create Database
CREATE DATABASE <database_name>;
Create User
CREATE USER <username> WITH PASSWORD <password>;
Grant all privileges to cv-builder database user
GRANT ALL PRIVILEGES ON DATABASE <database_name> TO <username>;
Create a .env file in root directory and add your created config:
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
Migrate tables to the database
python manage.py migrate
Run with Docker
- 
First, you should install Docker 
- 
Then clone the project: 
https://github.com/PEMIDI/cv-builder.git
After you created your .env file:
docker compose up
Migrate your database:
- First:
docker exec -it cv_web bash
- Then:
python3 manage.py migrate