Skip to main content

A simple bootstrapper for django applications

Project description

Django Bootstrapper

PyPI Build Status

This is a simple django project generator, it uses django default command and complete the schema generating a full application ready to use, including base, authentication, and template_base applications.

The main idea behind this projects is to automate some labors when we create projects.

Usage

First create a new environment

# For pip users
python -m venv my_custom_environment
# For conda users
conda create --name my_custom_environment

Now install django-bootstrapper

pip install django-bootstrapper

Now just execute django-bootstrapper.py and follow the rules

The project folder structure will be:

project_folder
├── applications
│   ├── authentication (Authentication app from https://github.com/contraslash/authentication-django)   ├── base_template (Base template from https://github.com/contraslash/template_cdn_bootstrap)   └── __init__.py
├── base (base from https://github.com/contraslash/base-django)
├── manage.py
└── project_name
    ├── __init__.py
    ├── settings.py
    ├── urls.py
    └── wsgi.py

The project is git submodule based, and creates submodules for authentication, base_template and base, all open source projects created by contraslash.

Also we recommend to use Django Crud Generator to create CRUD automatically.

Our main goal is to create a project with a structure that we can extend using templates and existing files.

If you want to modify and add to your tree any submodule, we recommend to follow this question

Test your changes

We want to include test on this suite so, to test your changes use

pytest

Compile locally

python setup.py sdist
python setup.py install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_bootstrapper-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file django_bootstrapper-0.1.0.tar.gz.

File metadata

  • Download URL: django_bootstrapper-0.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

File hashes

Hashes for django_bootstrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 72d627b0f927a26b57b70dba6d1e5aefcea1e22c347b67a79cb63c7a87f6235a
MD5 a7832bb46b8836b5f2b0e60440b87c8a
BLAKE2b-256 3e88e7bfd7079d44b5bef95708f87eac8b1cfecdbf48058099daea5c63ef0456

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page