Skip to main content

Utils for managing Django Hizashi environment

Project description

A set of command line helper utilities for managing Django Hizashi project environment.

About the project

Django Hizashi is a Django project environment based on iterating personal best practices. Management commands recreate familiar project directory structure from prepared project and application templates.

Utilities are context aware, so as long as you are in a subdirectory of the main Django Hizashi project folder, script utilities will work on best effort basis.

Quick start

  • create and initialize a new Python virtual environment

  • install hizashi-utils: pip install hizashi-utils

  • initialize project: hizashi.py initproject my_new_project

  • change directory to that project: cd my_new_project

  • initialize an application: hizashi.py initapp my_new_app

Project level utilities

initproject

To initialize a new project execute:

hizashi.py initproject my_new_project_name

Optional parameters:

makedocs

To build Sphinx docs execute:

hizashi.py makedocs

Optional parameters:

  • type - documentation type, defaults to html, mimics sphinx Makefile

  • publish - switch to activate the Publish server, a documentation HTTP server

  • host - Publish server host, defaults to ‘127.0.0.1’

  • port - Publish server port, defaults to ‘54299’

devserver

Starts Django development server, using developer specific settings module or fallbacks to the default development settings module core.settings.dev.

To start the server execute:

hizashi.py devserver

Optional parameters:

  • settings - override automatically detected settings file

collectstatic

Runs collectstatic Django management comamnd, using developer specific settings module or fallbacks to the default development settings module core.settings.dev.

To start the server execute:

hizashi.py collectstatic

Optional parameters:

  • settings - override automatically detected settings file

Application level utilities

initapp

To initialize a new application execute:

hizashi.py initapp my_new_application_name

Optional parameters:

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

hizashi-utils-0.3.1.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file hizashi-utils-0.3.1.tar.gz.

File metadata

File hashes

Hashes for hizashi-utils-0.3.1.tar.gz
Algorithm Hash digest
SHA256 94f97d62d09cfd608ce4ebc4ae184302a2267ce7b2bc6992dd99607726b49c91
MD5 cdcefc453c6aaa68b4d6fac5bc2f6416
BLAKE2b-256 00327acbb84a5cbfe1b94c17c2a0989b10a1b1ecf5f2848659290f8b8ac95118

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