https://github.com/umit8098/taslak_project_django
Taslak_Project_Django
https://github.com/umit8098/taslak_project_django
django-rest-framework logging redoc swagger
Last synced: 7 months ago
JSON representation
Taslak_Project_Django
- Host: GitHub
- URL: https://github.com/umit8098/taslak_project_django
- Owner: Umit8098
- Created: 2023-03-13T13:30:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-22T12:43:43.000Z (9 months ago)
- Last Synced: 2025-01-30T04:28:22.926Z (8 months ago)
- Topics: django-rest-framework, logging, redoc, swagger
- Language: Python
- Homepage:
- Size: 338 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Taslak_Project_Django
## Table of Contents
- [Table of Contents](#table-of-contents)
- [Overview](#overview)
- [Built With](#built-with)
- [How To Use](#how-to-use)
- [About This Project](#about-this-project)
- [Acknowledgements](#acknowledgements)
- [Contact](#contact)## Overview
## Built With
- Djago Rest Framework
- Swagger
- Debug Toolbar
- Logging
- Redoc
- PostgreSQL## How To Use
To clone and run this application, you'll need [Git](https://github.com/Umit8098/Taslak_Project_Django)
When installing the required packages in the requirements.txt file, review the package differences for windows/macOS/Linux environments.
Complete the installation by uncommenting the appropriate package.
---
requirements.txt dosyasındaki gerekli paketlerin kurulumu esnasında windows/macOS/Linux ortamları için paket farklılıklarını inceleyin.
Uygun olan paketi yorumdan kurtararak kurulumu gerçekleştirin.
```bash
# Clone this repository
$ git clone https://github.com/Umit8098/Taslak_Project_Django.git# Install dependencies
$ python -m venv env
$ python3 -m venv env (for macOs/linux OS)
$ env/Scripts/activate (for win OS)
$ source env/bin/activate (for macOs/linux OS)
$ pip install -r requirements.txt
$ python manage.py migrate (for win OS)
$ python3 manage.py migrate (for macOs/linux OS)# Create and Edit .env
# Add Your SECRET_KEY in .env file"""
# example .env;SECRET_KEY =123456789abcdefg...
# for development(dev) environments
DEBUG =True# for product(prod) environments
SQL_DATABASE={DB_NAME}
SQL_USER={DB_USER_NAME}
SQL_PASSWORD={DB_PASSWORD}
SQL_HOST=localhost
SQL_PORT=5432# for choices environment
ENV_NAME =dev
# ENV_NAME =prodDJANGO_LOG_LEVEL=INFO
"""# Run the app
$ python manage.py runserver
```## About This Project
- Separate environment settings for production and development.
- Using Postgresql database in production environment.
- Production ve development için ayrı ortam ayarları.
- Production ortamında postgresql database kullanımı.## Acknowledgements
- [Logging](https://docs.djangoproject.com/en/5.1/topics/logging/) - System logging modul
- [Swagger](https://drf-yasg.readthedocs.io/en/stable/readme.html#installation) - Environment and document modul
- [Debug_Toolbar](https://django-debug-toolbar.readthedocs.io/en/latest/installation.html) - Debug Toolbar modul## Contact
- GitHub [@Umit8098](https://github.com/Umit8098)
- Linkedin [@umit-arat](https://linkedin.com/in/umit-arat/)