Skip to content

dulacp/django-skel-custom

Repository files navigation

Django Skel optimized for Heroku

Requirements

You need to install some pretty useful thing to be able to run this project, here is the list

  • Homebrew : first of all, to helps you in managing the following dependencies.

Then :

  • LibJPEG : $ brew install libjpeg

    you'll probably needs this if you want to make some thumbnails of jpeg images.

  • virtualenv and virtualenvwrapper

  • Redis : $ brew install redis

  • PostgreSQL : $ brew install postgresql

  • RabbitMQ : $ brew install rabbitmq

Installation

$ mkvirtualenv myproject
$ workon myproject
$ pip install 'Django<1.7'
$ django-admin.py startproject --template=https://github.com/dulaccc/django-skel-custom/zipball/master --name=Makefile myproject
$ cd myproject
$ pip install -r reqs/dev.txt

Then initialize the database

$ createdb myproject
$ python manage.py syncdb
$ python manage.py migrate

And you're ready to run the server :) $ python manage.py runserver or $ make rs thanks to some shortcuts defined in the Makefile

Prod settings

$ heroku config:add DJANGO_SETTINGS_MODULE=myproject.settings.prod

Contact

Pierre Dulac
@dulaccc

About

Personal django skel optimized for Heroku derived from the great https://github.com/rdegges/django-skel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published