|
|
||
|---|---|---|
| .idea | ||
| .vscode | ||
| account | ||
| activity | ||
| administrator | ||
| assets | ||
| bank_account | ||
| billing | ||
| clndar | ||
| communication | ||
| const | ||
| contact | ||
| core | ||
| dashboard | ||
| detective_book | ||
| document | ||
| matter | ||
| media | ||
| messenger | ||
| note | ||
| permission | ||
| practice_area | ||
| reminder | ||
| report | ||
| sandbox | ||
| setting | ||
| static | ||
| subscription | ||
| task | ||
| temp/download/2022/9 | ||
| timeline | ||
| .env.example | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .htaccess | ||
| 1.json | ||
| Dockerfile | ||
| Iralex.pem | ||
| QR_CODE_README.md | ||
| README.md | ||
| azure-info.txt | ||
| celery.service | ||
| client_secret_986858475219-51t72fthf2p6p79rjgg47e6se5oalvf7.apps.googleusercontent.com.json | ||
| client_secret_986858475219-461v2efu5b1ghfsofnajak56pt806spa.apps.googleusercontent.com.json | ||
| commit_and_push.bat | ||
| connect_to_ssh_azure.bat | ||
| connect_to_ssh_backend_vps.bat | ||
| docker-compose.yml | ||
| dumpnewww.json | ||
| ex.txt | ||
| finalize.bat | ||
| firebase-service-account-key.json | ||
| index.html | ||
| ira-lex_azure_vm_key.pem | ||
| iralex_backend_vps_keypair.pem | ||
| log.txt | ||
| manage.py | ||
| migrate.bat | ||
| old-firebase-service-account-key.json | ||
| passwords.txt | ||
| ppp.py | ||
| requirements.txt | ||
| sandbox.py | ||
| ss.json | ||
| start | ||
| test.py | ||
| test_qr.py | ||
| woodpecker.yml | ||
README.md
setting.py is in detective_book folder you can see the settings of this project
ira-lex Project Readme
Welcome to the documentation for the ira-lex Django project! This document serves as a guide to understanding the project's structure, functionality, and how to get it up and running on your local machine.
Table of Contents
Project Overview
[Project Name] is a Django-based web application designed to [briefly describe the project's main purpose and features].
Features
- admin panel and customer panel (this repo contains just customer repo)
Getting Started
Follow these instructions to set up and run the project on your local machine.
Prerequisites
- Python [version 3.10]
- [Database] (MongoDB, PostgreSQL, Redis)[you don't need setup database in you local system. the database is run from server]
- [python celery and another library in requirements.txt file]
Installation
-
Clone this repository to your local machine:
git clone [git@gitlab.com:yo3ef.amini/iralex-backend.git] cd [iralex-backend] -
Create a virtual environment:
virtualenv venv -p python3.10 -
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate -
On macOS and Linux:
source venv/bin/activate
-
-
Install the required dependencies:
pip install -r requirements.txt
Configuration
-
Copy the
.env.examplefile to.env:cp .env.example .env -
Edit the
.envfile and set the necessary environment variables:SECRET_KEY: Django secret key for securityDEBUG: Set toTruefor development,Falsefor productionDATABASE_URL: URL to your database- [Other configuration variables]
Usage
-
Apply database migrations:
python manage.py migrate -
Create a superuser account:
python manage.py createsuperuser -
Start the development server:
python manage.py runserver -
Access the application in your web browser at
http://127.0.0.1:8000/.
Thank you for your interest in the [ira-lex] project. If you have any questions or need further assistance, please don't hesitate to [https://gitlab.com/ehsangheychisaz]. Happy coding!