Skip to content

NishikantS578/PRS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

PRS

How to setup


Frontend setup

Inside Frontend directory.

  1. Install Dependencies

      npm i
    
  2. Create env variables Use Provided sample env file.

  3. Run Server

      npm run dev
    

Backend setup

Inside Backend Directory.

  1. Creating Python virtual environment

    python -m venv <PATH TO VIRTUAL ENVIRONMENT>
    
  2. Activate Python virtual environment

    • Windows:
      • cmd.exe
        <PATH TO VIRTUAL ENVIRONMENT>\Scripts\activate.bat
        
      • PowerShell
        <PATH TO VIRTUAL ENVIRONMENT>\Scripts\Activate.ps1
        
    • Linux:
      source <PATH TO VIRTUAL ENVIRONMENT>/bin/activate
      
  3. Install packages

      pip install requirements.txt
    
  4. Create env variables Use Provided sample env file.

  5. Run Server

      pythonx manage.py runserver <YOUR PRIVATE IP>:8000
    

    replace x above by your python version