Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.8 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.8 KB

CRM-Django

Following Study Gyaang's tutorial create a CRM from scratch I'm learning Django framework.

References

Deployment

Clone the git repository.

In the project folder run the following commands to install the virtual environment:

  pip install virtualenv

  virtualenv env

  .\env\Scripts\activate

Or in alternative run:

  mkvirtualenv --python=/usr/bin/<python_version> <virtualenv_name>

Replace <python_version> with the python version of your environment, for example: <python_version> = python3.9

Replace <virtualenv_name> with the name of the virtual environment, for example: <virtualenv_name> = crm-virtualenv

In the virtual environment shell run the following command to install python dependancies:

  pip install -r requirements.txt

Configure the local_settings.py file with your database and email settings.

Run the following commands to make the migrations and populate the database:

  python manage.py migrate

Run the following command to create the superuser of the system:

  python manage.py createsuperuser