Skip to main content

A simple tool to create django-ready project

Project description

Background

Overview

Django Rockstarter is a Python package designed to accelerate the setup of Django projects by automatically creating a robust, production-ready directory structure and essential configuration files. With built-in support for django-environ to manage environment variables securely and whitenoise to handle static files efficiently, Rockstarter ensures your Django projects are well-prepared for deployment.

Key Features

  • Production-Ready Structure: Automatically sets up a comprehensive directory structure tailored for Django projects, adhering to best practices.
  • Secure Configuration: Integrates django-environ to simplify the management and encryption of environment variables.
  • Static Files Handling: Utilizes whitenoise to serve static files directly from your application, enhancing performance and security.
  • Time-Saving: Eliminates the repetitive task of manually setting up project directories and configuration, allowing you to focus on writing code.

Setup

  1. Install django rockstarter package
pip install git+https://github.com/koderstory/django-rockstarter.git
  1. Init project
rockstarter run
  1. Move environ sample
mv .env.sample .env

if necessary, edit .env and add your domain in ALLOWED_HOSTS

  1. Migrate
python manage.py migrate

Local Running

Running Server (local)

python manage.py runserver

Production

  • Live to production
rockstarter deploy my.domain.com
  • Drop website
rockstarter drop my.domain.com

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

rockstarter-0.1.4.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

rockstarter-0.1.4-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file rockstarter-0.1.4.tar.gz.

File metadata

  • Download URL: rockstarter-0.1.4.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for rockstarter-0.1.4.tar.gz
Algorithm Hash digest
SHA256 99fb60688443c3f801a505228e3d30664d8d65d5612c5596bb4b46ad38bf0bb9
MD5 60a83b307f87e297a5ef1ab0c76a29d7
BLAKE2b-256 2dc0e518bcd54cebf0b4e0ba7670724d0c4d4ae1d63716a0c89b9253d3e74ff4

See more details on using hashes here.

File details

Details for the file rockstarter-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: rockstarter-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for rockstarter-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dba723e8710525f195c96f06df5797ac9c891a5871a2869db7cd5f4150fcf5fa
MD5 4a0b2380ed4ef7b4803c9fa2f31f144e
BLAKE2b-256 8a6e2d82a08856513852f71ab6702223ee07aa0738e9853d9b198661cbeeb543

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