Skip to content

PVBharadwaj/lokarpan

Repository files navigation

Lokarpan-website

Backend Setup

  1. Clone the Repository

    git clone https://github.com/PVBharadwaj/lokarpan-backend.git
    cd lokarpan-backend
  2. Install Dependencies

    pip install -r requirements.txt
  3. Set Environment Variables and Install Django

    python -m venv env
    source env/bin/activate  # For Unix/Linux
    .\env\Scripts\activate   # For Windows
    pip install django
  4. Migrate the Models

    python manage.py migrate
    python manage.py makemigrations
  5. Ensure Django Rest Framework and CORS-Headers are Installed

    If not installed, run the following commands:

    pip install djangorestframework
    pip install django-cors-headers
  6. Run the Server

    python manage.py runserver
  7. Verify Correct Path

    Ensure that the path of the browser is correct. Refer to urls.py -> urlPatterns for the correct path.

Frontend Setup

The frontend for Lokarpan is available at Lokarpan Website. If the repository is empty, clone the above repo into that folder and follow the steps below.

  1. Clone the Frontend Repository

    git clone https://github.com/PVBharadwaj/lokarpan-website.git
    cd lokarpan-website
  2. Install Dependencies

    npm install
  3. Start the Frontend Server

    npm start

Other Data

Database engine: sqlite3 Django version: 5.0.2

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors