Skip to content
This repository was archived by the owner on Sep 13, 2020. It is now read-only.
/ djangopeople Public archive
forked from simonw/djangopeople.net

A geographical community site for Django developers

License

Notifications You must be signed in to change notification settings

django/djangopeople

This branch is 635 commits ahead of simonw/djangopeople.net:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

16a3e34 · Sep 13, 2020
Sep 10, 2012
Aug 5, 2019
Nov 22, 2012
Feb 16, 2014
Aug 5, 2019
Feb 15, 2014
Nov 22, 2012
Feb 15, 2014
Feb 15, 2014
Mar 15, 2019
Feb 15, 2014
Dec 12, 2014
Nov 1, 2016
May 23, 2012
May 19, 2013
Sep 13, 2020
Oct 27, 2016
Feb 15, 2014
Jul 12, 2019
Jul 12, 2019
Jul 12, 2019
Jan 30, 2019

Repository files navigation

Note: Django People is archived as of Sept 2020. It remains here in read-only mode for historical interest.

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]:django/djangopeople.git
cd djangopeople
mkvirtualenv -p python3.7 djangopeople
pip install -r requirements-dev.txt
add2virtualenv .
npm install
ln -s node_modules/.bin/grunt grunt

Check env/DATABASE_URL to configure a local DB.

Then:

python manage.py migrate --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

Translations

To update translations from Transifex, run:

make txpull
python manage.py compilemessages

To push new strings to Transifex, run:

python manage.py makemessages -l en
make txpush

Update the LANGUAGES setting in settings.py when adding new languages to the locale directory.

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.

About

A geographical community site for Django developers

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.1%
  • HTML 18.6%
  • CSS 12.3%
  • JavaScript 3.9%
  • Other 0.1%