Skip to content

I'm following Study Gyaang (https://studygyaan.com/django) tutorial to learn Django framework and create a CRM from scratch.

Notifications You must be signed in to change notification settings

dprampolini/CRM-Django

Repository files navigation

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