All Projects → mozilla → Sugardough

mozilla / Sugardough

Licence: apache-2.0
A web application template based on Django.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sugardough

Django Places
A django app for store places with autocomplete
Stars: ✭ 55 (-68.21%)
Mutual labels:  django, cookiecutter
Cookiecutter Django Vue Graphql Aws
A highly opinionated Cookiecutter template that fuses together Django, Vue.js, GraphQL, and AWS into one full-stack web application.
Stars: ✭ 213 (+23.12%)
Mutual labels:  django, cookiecutter
Wildfish Django Starter
Django 2 cookiecutter starter project template.
Stars: ✭ 93 (-46.24%)
Mutual labels:  django, cookiecutter
Cookiecutter Django Vue
Cookiecutter Django Vue is a template for Django-Vue projects.
Stars: ✭ 462 (+167.05%)
Mutual labels:  django, cookiecutter
Wemake Django Template
Bleeding edge django template focused on code quality and security.
Stars: ✭ 1,141 (+559.54%)
Mutual labels:  django, cookiecutter
Django Project Template
Thorgate's Django project template - Django, React, Sass, optional Docker and more
Stars: ✭ 91 (-47.4%)
Mutual labels:  django, cookiecutter
Wagtail Pipit
Pipit is a Wagtail CMS boilerplate which aims to provide an easy and modern developer workflow with a React-rendered frontend.
Stars: ✭ 109 (-36.99%)
Mutual labels:  django, cookiecutter
Django Admin Autocomplete Filter
A simple Django app to render list filters in django admin using autocomplete widget.
Stars: ✭ 166 (-4.05%)
Mutual labels:  django
Rest Api Basics
This is a basic guide on how to build a REST API with Django & Python. For much deeper depth, check out our new course on REST API: (https://kirr.co/90kxtx)
Stars: ✭ 171 (-1.16%)
Mutual labels:  django
Django Accounting
Accounting pluggable app for Django 1.7+ projects
Stars: ✭ 167 (-3.47%)
Mutual labels:  django
Vue People
VuePeople lists and connects Vue.JS developers around the world.
Stars: ✭ 167 (-3.47%)
Mutual labels:  django
Django Settings Export
Access Django settings from templates the right way™
Stars: ✭ 167 (-3.47%)
Mutual labels:  django
Djangorestframework Queryfields
Allows clients to control which fields will be sent in the API response
Stars: ✭ 170 (-1.73%)
Mutual labels:  django
Django Pushy
Your push notifications handled at scale.
Stars: ✭ 168 (-2.89%)
Mutual labels:  django
Viewflow
Reusable workflow library for Django
Stars: ✭ 2,136 (+1134.68%)
Mutual labels:  django
Jet Django
Jet Bridge (Django) for Jet Admin – Admin panel framework for your application
Stars: ✭ 168 (-2.89%)
Mutual labels:  django
Graphene Django Subscriptions
This package adds support to Subscription's requests and its integration with websockets using Channels package.
Stars: ✭ 173 (+0%)
Mutual labels:  django
Niji
A pluggable Django forum APP
Stars: ✭ 173 (+0%)
Mutual labels:  django
Django Fluent Comments
A modern, ajax-based appearance for django comments
Stars: ✭ 170 (-1.73%)
Mutual labels:  django
Docker Django
A project to get you started with Docker and Django.
Stars: ✭ 170 (-1.73%)
Mutual labels:  django

Sugardough

Sugardough is not activelly maintained and packages are out of date and insecure.

Sugardough is a web application template based on Django. Sugardough is built using Cookiecutter.

Features:

Requirements Status

Virtualenv Build Status Docker Build Status

Create a sugardough project

  1. Get cookiecutter:

    $ pip install cookiecutter
    
  2. Run cookiecutter with sugardough template

    $ cookiecutter https://github.com/mozilla/sugardough
    
  3. Done!

Contribute to sugardough

To contribute to sugardough development:

  1. Clone this repository

  2. Create a virtualenv.

  3. Install development requirements using pip:

    $ pip install -r requirements.txt
    
  4. Update the template directory, and cookiecutter.json as well with new variables if needed.

  5. Run the regeneration script that auto-creates a test site:

    $ ./bin/regenerate.py
    
  6. Launch the test site to see your changes:

    $ cd test_project/sugardough
    $ docker-compose up
    
  7. Git commit changes.

  8. Pull request!

The regenerate.py command can also watch for changes and auto-regenerate the test project:

$ ./bin/regenerate.py --watch

If you want the test project to use a different value for a variable than the default defined in cookiecutter.json, add the value to your ~/.cookiecutterrc file:

default_context:
    project_name: "Foo Bar"

Opinions

  • If you want to change the rules for PEP8, go and edit the setup.cfg file.

  • If you want to use MySQL instead of PostgreSQL (which is default), edit the generated requirements.txt file and remove the lines about psycopg2 then use peep to add the version of MySQL-python you want to use. You will also need to edit the .travis.yml file accordingly.

  • if you want to use pytest add in requirements.txt pytest, py, cov-core and pytest-django. For test coverage you'll also have to add pytest-cov. Next you'll need to edit the .travis.yml file and edit the script part. Instead of coverage run manage.py test it py.test --cov=sugardough.

  • Dockerfile uses Python 3. If you want Python 2 change the following line

    apt-get install -y --no-install-recommends build-essential python3 python3-dev python3-pip \
    

    to

    apt-get install -y --no-install-recommends build-essential python python-dev python-pip
    

    and remove the next two lines starting with RUN update-alternatives.

License

Sugardough itself is licensed under the Apache 2 license. See the LICENSE file in this repository for the full text of the license. The website projects produced using sugardough use the Mozilla Public License version 2 by default.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].