EduPapersAPI is a Django-based RESTful API which functions as the project's backend infrastructure.
There are two main ways to contribute to this project:
1: Suggest features or functionality in the discussions:
2: Contribute by writing code:
Running the project locally
1: Open your command prompt or terminal.
2: Navigate to your preferred directory and clone the repository using the following command:
git clone git@github.com/EduPapersKe/EduPapersAPI.git
3: Navigate into the project root directory named EduPapersAPI:
cd EduPapersAPI
4: Create a virtual environment and activate it following the instructions for your operating system (Windows or Linux/macOS).
python -m venv <environment_name>
5: Activate the virtual environment with this command:
<environment_name>\Scripts\activate.bat
source <environment_name>/bin/activate
6: Install project dependencies using the following command:
pip install -r requirements.txt
7: Create a new file in the root directory and name it .env
. Note: The .env
file should not be committed to version control. Copy the contents from .env.example
and assign the fields the necessary secrets.
8: Run the following commands to create and apply database migrations:
python manage.py makemigrations
python manage.py migrate
9: Run the application with this command:
python manage.py runserver