To get this portfolio on your system follow the below steps:
- Clone this repository
git clone https://github.com/shubhajeet1207/portfolio2.0
- Create a new Virtual environment so that, no package version confilct issue raise.
virtualenv your_virtual_env_name
- Activate your Virtual Environment
.\your_virtual_env_name\Scripts\activate
- Install al the requirements mentioned in the requirements.txt
pip install -r requirements.txt
- Now, generate the SQL commands for preinstalled apps.
python manage.py makemigrations
- Now, migrate the changes made in the Database.
python manage.py migrate
- Create a super user so that, you can view the your Admin Panel.
python manage.py createsuperuser
To run this project, you will need to add the following environment variables to your .env file
-
SENDGRID_API_KEY
- This would be your sendgrid api key. -
DEFAULT_FROM_EMAIL
- This would be your default email which you'll be using as your sender mail id. -
API_KEY
- This is your Cloudinary API Key. -
API_SECRET
- This would be your Cloudinary Secret Key.