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 rockstarter
  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.7.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rockstarter-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 a55a978021f33bd123c3ce4e7d3b6e294116255e3b8599bccc4c8c68f38af955
MD5 7ad49edcc1270481b598bde6253a315e
BLAKE2b-256 4fcb9fe63af8dbe4ea1221e7dc558c32d49eba4b8f9d78d34f18f3e53f026b26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rockstarter-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 445d8c69e01a2d2b8ffd29adcd5d1f8e845fd97563624cde744585a096821683
MD5 b1320b8f62cf3ef8b05c8a721cb398c4
BLAKE2b-256 b78073e39f2b1408cc44a07478c7b00562cb1839895cd2f4e6431d9f7c9795a2

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