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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rockstarter-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 acd340925444b37eae0f587558a565e2a1f10773de0f0ff4d33447223f8b7c9c
MD5 cfc5d14d2f9525f25c21d70081ae7191
BLAKE2b-256 5356044deba447cf3f70dc6d7883999c32a113ef8dd4358030f8b8f3de70b5e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rockstarter-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b5bff8b2d16b66ba6570af5da320621c48fc36b77bb4ba77b4d53a79ceec468b
MD5 79a7323b467c1515b1e4a86aab546715
BLAKE2b-256 02fa4c18929db7b23e283c953235cb60dddf7ecbd56507878b13c53e8dfafd83

See more details on using hashes here.

Supported by

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