Snipt: Glitch Edition
 
 
 
 
 
 
Go to file
Nick Sergeant a023a58c9e According to popular-belief, we should be running '1 + 2 * number of cores' for guni procs. Setting them to 17 since we're on an 8-core system. 2013-04-28 18:25:50 -04:00
accounts Only show users on homepage that have Gravatars *and* public snipts. 2013-04-15 15:01:04 -04:00
blogs Fix Pro headings again. 2013-04-10 11:45:50 -04:00
media Make static media play nice with the debug server. For the lovely @cz. 2013-04-16 11:07:13 -04:00
snipts Don't render JS either. For, you know, security. 2013-04-25 13:11:15 -04:00
templates Remove trailing slash here. 2013-04-16 10:57:03 -04:00
utils Lots of updates for Django 1.5 support, including url tag fixes, and django-registration upgrades. 2013-03-24 18:15:49 -04:00
.ffignore ffignore 2013-02-18 15:52:03 -05:00
.gitignore Ignoring settings_local.py because I'm a fucking dumbass. 2013-03-25 21:33:53 -04:00
.kick Header for pro-adams theme. 2012-08-20 21:48:37 -04:00
.venv Adding venvs 2011-11-06 10:04:19 -05:00
LICENSE A readme, a license, and a local_settings template. 2012-09-18 19:35:36 -04:00
README.md Moar settings_local shit. 2013-03-25 21:41:29 -04:00
__init__.py Moving 2012-03-04 15:49:51 -05:00
admin.py List users by -date_joined in admin 2012-05-09 14:54:03 -04:00
debug_wsgi.py Moving 2012-03-04 15:49:51 -05:00
fabfile.py Le sigh. Use Gravatar's 404 default response to check for images, not profile requests. 2013-04-15 00:10:05 -04:00
git-pre-commit Unfuck all the things. 2013-02-22 00:29:41 -05:00
gk GS GK 2012-09-17 13:28:57 -04:00
gs GS GK 2012-09-17 13:28:57 -04:00
gunicorn.conf.py We also don't need 9 workers for the dev guni. 2013-04-28 18:22:33 -04:00
gunicorn.conf.server.py According to popular-belief, we should be running '1 + 2 * number of cores' for guni procs. Setting them to 17 since we're on an 8-core system. 2013-04-28 18:25:50 -04:00
manage.py Moving 2012-03-04 15:49:51 -05:00
migrate.py Some basic stuff w migrate 2012-04-08 19:19:52 -04:00
monitor.py Moving 2012-03-04 15:49:51 -05:00
requirements.txt Turns out we need django-bcrypt or anyone who created passwords with bcrypt won't be able to log in. 2013-03-25 21:45:52 -04:00
settings.py Gravatar scraper. 2013-04-14 23:35:05 -04:00
settings_local-template.py 404 middleware for Sentry. 2013-03-26 12:53:09 -04:00
urls.py Make static media play nice with the debug server. For the lovely @cz. 2013-04-16 11:07:13 -04:00
views.py Tweak homepage avatars. 2013-04-15 15:10:41 -04:00

README.md

Snipt

This is the codebase for the website, Snipt.net.

It's a relatively well-kept Django app, so you shouldn't have too many problems getting a local copy running.

Note: These instructions assume you already have Git and Mercurial installed.

If you need help, visit #snipt on irc.freenode.net.

Running the Django app

  1. Clone the repo.
  2. Setup a virtualenv.
  3. pip install -r requirements.txt
  4. pip install --index-url https://code.stripe.com --upgrade stripe
  5. Copy settings_local-template.py to settings_local.py and edit the settings.
  6. python manage.py syncdb
  7. python manage.py migrate
  8. python manage.py runserver

Any problems / questions / bugs, create an issue. Thanks! :)