Skip to content

Bash script to start django projects with the right layout and docker stuff.

Notifications You must be signed in to change notification settings

gonza56d/django-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django Starter

What's this?

A small project with custom scripting for initializing new Django projects with the layout suggested from Two Scoops Of Django book, a custom User model and Users app for auth, and your project will start Dockerized with postgres, mongo and redis containers with your Django app connected to these.

Requirements

Have Django installed in your environment. If you have it in a virtual environment, make sure to activate it before running this. Docker and docker-compose are also required.

How to run?

Execute ./django_starter.sh <project_name> and wait for magic to happen. Once it's ready, you'll find your Django app running at http://localhost:8000.

Troubleshooting

Make sure to use only letters and underscores for your poject name. If something goes wrong, delete everything except by django_starter.sh and django_starter.py. (Note that also .env and .env.copy files could've been created, delete these too).

About

Bash script to start django projects with the right layout and docker stuff.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published