Giter Site home page Giter Site logo

101t / django-aio Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 749 KB

Django AIO pre-configured django project

Shell 1.24% Python 91.65% JavaScript 0.02% Batchfile 0.66% CSS 0.03% HTML 4.38% Dockerfile 0.87% Makefile 1.15%
django celery channels postgres django-rest-framework all-in-one django-aio thought deployment-strategy save-time-in-development translation quickstart django-jet python3 python hacktoberfest

django-aio's Introduction

Django AIO

Django AIO

travis-ci Coverage Status

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)

pip install virtualenv

git 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

python -m pip install virtualenv

git 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

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

cd django-aio/main/

django-admin makemessages -l en

django-admin compilemessages

Note: make sure you have gettext installed in your Unix Environment

# using gettext in ubuntu or macOS
msgunfmt [django.mo] > [django.po]

Run Celery

To run your celery in development

make run_celery

Run Django

To run django in development as HTTP

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.

django-aio's People

Contributors

101t avatar dependabot[bot] avatar safebuffer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

django-aio's Issues

README.md

Under the windows section you have requirements.txt listed as requirements.pip

Other matter, not sure if you were going for a copy paste section with your windows and unix sections, but if you were I'd like to suggest one other change.

if you change env/Scripts/activate to CALL env/Scripts/activate it will allow you to paste the lines into a bat file and automate the whole process. currently it will stop after activating the venv

Also, what do I have to do to get this going. Everything seem to work fine, no errors, but when navigating to the 127.0.0.1:8000 I get a 404. Doesn't this have the jet dashboard admin package?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.