Giter VIP home page Giter VIP logo

djangopeople's Introduction

Build Status

This is the codebase behind what used to be djangopeople.net and now lives at people.djangoproject.com.

If you want to add features or make big changes, please create a new issue first!

Hacking

git clone [email protected]:brutasse/djangopeople.git
cd djangopeople
mkvirtualenv -p python2 djangopeople
pip install -r requirements.txt
add2virtualenv .

Create djangopeople/settings.py and add:

from default_settings import *

DEBUG = True
DATABASES = {
    # your DB config
}

Then:

make db
make run

The development server is now running on http://localhost:8000.

To run the tests:

make test

Deploying on Heroku

Set a bunch of environment variables:

  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY
  • AWS_BUCKET_NAME
  • DATABASE_URL
  • SECRET_KEY
  • SENTRY_DSN
  • DJANGO_SETTINGS_MODULE (set it to djangopeople.production_settings)
  • FROM_EMAIL

First deploy:

git push heroku master
heroku run django-admin.py syncdb --noinput
heroku run django-admin.py collectstatic
heroku run django-admin.py fix_counts

Subsequent deploys:

git push heroku master
heroku run django-admin.py collectstatic

Original README from Simon Willison:

This is an unmodified (except removal of secrets and API keys) dump of the code now running on djangopeople.net - the vast majority of which was developed between January and April 2008 by Simon Willison and Natalie Downe.

It originally ran on Django r7400, but has recently been updated for Django 1.1.

This code was not originally intended for public consumption, so there are probably one or two eyebrow raising design decisions. In particular, the machine tags stuff for user profiles was an ambitious experiment which I wouldn't mind seeing the back of.

djangopeople's People

Contributors

brutasse avatar fhahn avatar bezidejni avatar bessl avatar andrewgodwin avatar jdunck avatar seler avatar dalanmiller avatar

Watchers

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