Skip to content
This repository

A geographical community site for Django developers

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .tx
Octocat-spinner-32 djangopeople
Octocat-spinner-32 env
Octocat-spinner-32 js
Octocat-spinner-32 tests
Octocat-spinner-32 vendor
Octocat-spinner-32 .env
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .slugignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gruntfile.js
Octocat-spinner-32 Makefile
Octocat-spinner-32 Procfile
Octocat-spinner-32 Procfile.dev
Octocat-spinner-32 README.rst
Octocat-spinner-32 manage.py
Octocat-spinner-32 package.json
Octocat-spinner-32 requirements-dev.txt
Octocat-spinner-32 requirements.txt
README.rst
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 git@github.com:brutasse/djangopeople.git
cd djangopeople
mkvirtualenv -p python2 djangopeople
pip install -r requirements.txt
add2virtualenv .
npm install
ln -s node_modules/.bin/grunt grunt

Check env/DATABASE_URL to configure a local DB.

Then:

python manage.py syncdb --noinput && python manage.py fix_counts
python manage.py runserver

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

To run the tests:

python manage.py 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.settings)
  • FROM_EMAIL
  • API_PASSWORD
  • CANONICAL_HOSTNAME (e.g. people.djangoproject.com)

Optionally:

  • Add the redistogo addon

First deploy:

make initialdeploy

Subsequent deploys:

make deploy

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.

Something went wrong with that request. Please try again.