Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 946 Bytes

File metadata and controls

40 lines (32 loc) · 946 Bytes

µLearn Backend Project

Project Setup:

Clone the Project

Clone the repository to your local machine using the following command:

git clone <repo-url>

Create the virtual environment

Create a virtual environment in a venv folder and activate it:

python -m venv venv
source venv/bin/activate

for windows:

python -m venv venv
venv\Scripts\activate.bat  

Install Dependencies

Install the required dependencies using the following command:

pip install -r requirements.txt

Set environment variables

Create a .env file in the project root directory by copying .env.sample and replace with your values.

Note

Apply this migration script before running the project

Run the Project

python manage.py runserver

Now the project is up and running on http://localhost:8000/.