Skip to content

sushmanthreddy/SciCommons-backend

 
 

Repository files navigation

Set up Guide

1. Create a Conda Environment

conda create -n <env_name> python=3.12.3

2. Activate the Conda Environment

conda activate <env_name>

3. Install the Required Libraries using poetry

poetry install

4. Create a .env and add the environment variables present in the .env.example file

touch .env
cp .env.example .env

5. Apply Database Migrations

poetry run python manage.py migrate

6. Run the Server

poetry run python manage.py runserver

You can now access the server at http://localhost:8000/ and API documentation at http://localhost:8000/api/docs/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.0%
  • JavaScript 20.9%
  • CSS 17.3%
  • Other 0.8%