- Clone the repository
$ git clone https://github.com/chetan6780/Cmail.git
$ cd Cmail
- Create a virtual environment to install dependencies in and activate it:
$ python -m venv .
$ .\Scripts\activate
- install the dependencies:
(venv)$ pip install -r requirements.txt
Note: (venv)
in front of the prompt. This indicates that this terminal
session operates in a virtual environment set up by virtualenv
.
For pipenv you will not see any (venv)
in front of the propt.
- Once
pip
has finished downloading the dependencies:
(venv)$ cd src
(venv)$ python manage.py makemigrations
(venv)$ python manage.py migrate
(venv)$ python manage.py runserver
The application should be running on http://127.0.0.1:8000/