Git Product home page Git Product logo

cookiecutter-django-ihk's Introduction

Inventive's Django Cookiecutter

Powered by Cookiecutter and inspired by Pydanny's cookiecutter and with the goal of optimize our development processes, we are happy to introduce our Django projects boilerplate packed and ready to use with the following features:

  • Django 1.11 LTS
  • Ansible provisioning for production, testing and development environments
  • Travis CI for continuous integration
  • AWS CodeDeploy for continuous delivery
  • 12 Factor based settings
  • SSL automatic certificate installation
  • Whitenoise for static files optimization and distribution.
  • Systemd daemon for production environment
  • NGINX setup for production environment
  • PostgreSQL as database engine
  • Preloaded with ZSH profile and development scripts.

Installation

  1. Install cookiecutter by running this command (NIX systems only):
$ pip install cookiecutter
  1. Run against this repo
$ cookiecutter https://github.com/inventivehack/cookiecutter-django-ihk

Getting Started

Prerequisites

In order to run the project you need to first install:

Running the project

  1. Create a copy of .env.sample and change its content.
  2. Run $ vagrant up --provision to start the virtual machine.
  3. Run $ vagrant ssh to connect to the machine via SSH.
  4. Run $ run to start the development server
  5. Go to the application port (8888 by default) http://localhost:8888/.

Deployment

If you selected use_aws_codedeploy during setup, all you need to do is create an application, create a deployment group, and release a new revision.

All deployments require a .env file as well as the .key and .crt files from the SSL certificate inside /app/ansible/nginx/files/ssl in order to succeed.

Not Exactly What You Want

This is what we use to optimize projects setup, it might not be what you want but don't worry, you have options

Contributing

Please fill free to submit pull requests as well as open issues.

Contributors

License

This project is licensed under the MIT License - see the LICENSE file for details

cookiecutter-django-ihk's People

Contributors

0xp4blo avatar oscaroa avatar juanpflores avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.