Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 964 Bytes

File metadata and controls

60 lines (38 loc) · 964 Bytes

Django CRM

Dependencies:

To start this project, first create virtualenv using python3. You need to have venv module installed. Example command:

python3 -m venv env

To activate your local environment use this command (Windows):

env\Scripts\activate.bat

Now you can install all the requiremenets for the project. This should work:

python3 -m pip install -r requirements.txt

Running the website:

To run the website do as follows:

  1. Activate your local environment (if it is not activated already):
env\Scripts\activate.bat
  1. Apply migrations:
python3 manage.py migrate
  1. Create superuser:
python3 manage.py createsuperuser
  1. Run the server:
python3 manage.py runserver

By default, your website should be hosted at: http://127.0.0.1:8000/. Use login provided when creating superuser.

Additional tools:

If you want to exit local environment, then just put:

deactivate