Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/101t/django-aio
Django AIO pre-configured django project
https://github.com/101t/django-aio
all-in-one celery channels deployment-strategy django django-aio django-jet django-rest-framework hacktoberfest postgres python python3 quickstart save-time-in-development thought translation
Last synced: 3 months ago
JSON representation
Django AIO pre-configured django project
- Host: GitHub
- URL: https://github.com/101t/django-aio
- Owner: 101t
- Created: 2019-06-28T07:07:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T15:56:55.000Z (about 1 year ago)
- Last Synced: 2024-05-01T12:47:51.819Z (10 months ago)
- Topics: all-in-one, celery, channels, deployment-strategy, django, django-aio, django-jet, django-rest-framework, hacktoberfest, postgres, python, python3, quickstart, save-time-in-development, thought, translation
- Language: Python
- Homepage:
- Size: 731 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Django AIO
![]()
## Features I thought About
Django AIO (All-In-One) to get project ready to develop with my flavor configurations.
All in one pre-configured and prepared as django project, your project will be ready to use:
1. Django
2. Celery
3. Channels
4. Postgres
5. Redis
6. DRF (Django REST Framework, Swagger, JWT)Also has some features' customization:
1. Custom User
2. Custom sending Mail
3. Sending Notification via channels
4. login everything in the system
5. custom sample data loader `python manage.py load_new` and migrations reseter `python manage.py reseter`
6. custom utils functions
7. easy to deployments
8. easy to translate
9. separating `config/` for configurations and `main/` for all `apps`, `static`, `templates`
10. Pre-configured API using JWT authentication and swagger-ui## Getting Started
In your terminal for **Unix** (Linux/Mac)
```shell
pip install virtualenvgit clone https://github.com/101t/django-aio --depth 1
cd django-aio/
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt
cp sample.env .env
python manage.py migrate
python manage.py load_new
python manage.py runserver
```In Command Prompt for **Windows**
```shell
python -m pip install virtualenvgit clone https://github.com/101t/django-aio --depth 1
cd django-aio/
virtualenv env
env/Scripts/activate
pip install -r requirements.txt
copy sample.env .env
python manage.py migrate
python manage.py load_new
python manage.py runserver
```Or using as new project templates
```shell
django-admin.py startproject --template=https://github.com/101t/django-aio/archive/latest.zip --extension=py,gitignore YOUR_PROJECT_NAME
```> Note: the `admin` user automatically added to project as default administrator user, the credentials authentication is **Username: `admin`, Password: `secret`**.
## Development
### Prepare Translations
Adding translation made easy by this commands
```shell
cd django-aio/main/django-admin makemessages -l en
django-admin compilemessages
```
> Note: make sure you have `gettext` installed in your `Unix` Environment```shell
# using gettext in ubuntu or macOS
msgunfmt [django.mo] > [django.po]
```### Run Celery
To run your celery in development
```shell
make run_celery
```### Run Django
To run django in development as `HTTP`
```shell
make run
```## Conclusion
The `django-aio` [Django All-in-One] repository is the result of years of development to starts from the middle of project-life.
The repository represent predefined goals and base templates for django frameworks and its beautiful 3rd-party packages.