Giter VIP home page Giter VIP logo

django-dev-dashboard's Introduction

Django development dashboard

http://dddash.herokuapp.com/.

A status dashboard tracking some metrics of Django's development process.

Setup

To run locally:

mkvirtualenv djdash
pip install -r requirements.txt
export TRAC_CREDS=<user:pass> # Your djangoproject.com creds.
./manage.py syncdb --migrate
./manage.py loaddata example_data

To deploy onto Heroku (mostly for my future reference):

Initial setup:

heroku apps:create --stack cedar dddash
git push heroku master
heroku addons:add heroku-shared-postgresql
heroku pg:promote HEROKU_SHARED_POSTGRESQL_AQUA
heroku addons:add pgbackups
heroku addons:add redistogo:nano
heroku addons:add scheduler:standard
heroku addons:add sentry
heroku addons:open scheduler
# add a job to run `python manage.py update_metrics` hourly
heroku config:add DJANGO_SETTINGS_MODULE=dashboard.settings.heroku
heroku config:add TRAC_CREDS=<user:pass>
heroku config:add AWS_ACCESS_KEY_ID=<access key id>
heroku config:add AWS_SECRET_ACCESS_KEY=<secret access key>
heroku config:add AWS_STORAGE_BUCKET_NAME=<bucket name>
heroku run -- python manage.py syncdb --migrate

(Yeah, you do have to do the deploy first. If you try to heroku config before a deploy the settings don't seem to stick.)

Each deploy:

git push heroku master
heroku run python manage.py collectstatic # (if static media changed)

django-dev-dashboard's People

Contributors

aaugustin avatar jacobian avatar jbalogh avatar jezdez avatar madewulf avatar

Stargazers

 avatar

Watchers

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