GithubHelp home page GithubHelp logo

00mjk / generic-django-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from josephmisiti/generic-django-project

0.0 0.0 0.0 371 KB

Generic Django Project I Use For All New Applications

Python 78.69% Shell 5.78% HTML 9.63% Makefile 0.46% CSS 1.33% JavaScript 4.12%

generic-django-project's Introduction

generic-django-project

Generic project directory structure for new django applications.

For more info, read my blog post:

https://medium.com/cs-math/f29f6080c131

Installation on Heroku

If you want to use Heroku to host your Django application, checkout this project

https://github.com/josephmisiti/generic-django-project-heroku

Just follow directions and you should have a django app running on Heroku in a few steps!

Installation

First, get cookiecutter

$ pip install cookiecutter

Then execute the following command:

$ cookiecutter https://github.com/josephmisiti/generic-django-project.git

Setting Up The Database

I like to use postgres, so I suggest installing PostGreApp. Once that is installed, execute the following commands

$ createdb <DBNAME>

Then sync and execute migrations

$ python manage.py syncdb
$ python manage.py migrate

Done! If you are not using OSX, you're on your own. It's pretty easy to install Postgres on UBUNTU (see fabfile.py), but I have no experience on Windows.

If you have any questions or what to help out, send a pull request or reach out at @josephmisiti

generic-django-project's People

Contributors

josephmisiti avatar josephmmisiti 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.