Skip to content

jefftriplett/django-startproject

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Welcome to django-startproject 👋

Twitter: webology CI

Django startproject template with batteries

🚩 Features

  • Django 4.0.x
  • django-click
  • Docker
  • Docker Compose
  • environs[django]
  • psycopg2-binary
  • whitenoise

💚 CI

  • black
  • django-test-plus
  • ipdb
  • model-bakery
  • pip-tools
  • pytest
  • pytest-black
  • pytest-cov
  • pytest-django

🏠 Homepage

🔧 Install

$ django-admin startproject \
    --extension=ini,py,yml \
    --template=https://github.com/jefftriplett/django-startproject/archive/main.zip \
    example_project

🚀 Usage

# Build our Docker Image
$ docker-compose build

# Run Migrations
$ docker-compose run --rm web python manage.py migrate

# Create a Superuser in Django
$ docker-compose run --rm web python manage.py createsuperuser

# Run Django on http://localhost:8000/
$ docker-compose up

# Run Django in background mode
$ docker-compose up -d

# Stop all running containers
$ docker-compose down

# Run Tests
$ docker-compose run --rm web pytest

# Re-build PIP requirements
$ docker-compose run --rm web pip-compile requirements/requirements.in

Author

👤 Jeff Triplett

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

About

🏁 Django Start Project template with batteries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published