Skip to content

Files

Latest commit

74b9705 · May 8, 2024

History

History
41 lines (35 loc) · 1.23 KB

README.md

File metadata and controls

41 lines (35 loc) · 1.23 KB

Django Rest Framework Template Project

This project is built using Django Rest Framework (DRF). It provides a foundation for creating and managing RESTful APIs.

Installation

To install this project, follow these steps:

  1. Clone the project:
git clone https://github.com/ok7uz/Django-DRF-Template.git
cd Django-DRF-Template
  1. Set up a virtual environment (recommended):
python3 -m venv env
source env/bin/activate
  1. Install the requirements:
pip install -r requirements.txt
  1. Create the .env file. Copy the necessary values from the .example.env file and adjust them as needed:
cp example.env .env
  1. Apply migrations and create the database:
python manage.py migrate
  1. Run the server:
python manage.py runserver

You can install and configure the main parts of the project through these steps.

Configuration

Modify the necessary values inside the .env file for configuration. Additional settings can be adjusted in the settings.py file.

Issues and Suggestions

If you have any questions, suggestions, or encounter any issues related to this project, please feel free to raise an issue on GitHub. Your feedback is highly appreciated!