$ git clone https://github.com/paritoshtripathi935/Portfolio.git
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python manage.py startproject personal_portfolio
Here we will be putting our main code.
$ python manage.py startapp Portfolio
This website has been deployed using heroku. 1 - Add a .gitignore file for Django, Python and Vscode(for me). 2 - Run below command and save a requirements file.
$ pip freeze requirements.txt
3 - Add a procfile like a above.
4 - change debug = False.
5 - After deploying run below in heroku bash
$ python3 manage.py migrate