Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 1.32 KB

README.md

File metadata and controls

37 lines (35 loc) · 1.32 KB

Installation

  • Linux/Mac
  1. Open terminal using Ctrl+T. Run the following command
    git clone https://github.com/khalidsaifullaah/complaint-management-system.git

  2. Create and active virtual environment using
    virtualenv -p python3 env
    cd venv
    source bin/activate

  3. Change the directory using
    cd ..
    cd Complain_Management_System

  4. Now you need to install python packages to run the app
    pip3 install -r requirements.txt

  5. Migrations
    python manage.py makemigrations python manage.py migrate

  6. Run Django app
    python manage.py runserver

  • Windows
  1. Open terminal using WinKey+R then Type "cmd" and then click "OK" . Run the following command
    git clone https://github.com/khalidsaifullaah/complaint-management-system.git
  2. Install and active virtual environment using
    pip install virtualenv
    virtualenv env
    env\Scripts\activate
  3. Change the directory using
    cd Complain_Management_System
  4. Now you need to install python packages to run the app
    pip3 install -r requirements.txt
  5. Migrations
    python manage.py makemigrations
    python manage.py migrate --run-syncdb
  6. Run Django app
    python manage.py runserver