Snipt: Glitch Edition
 
 
 
 
 
 
Go to file
Nick Sergeant 131469a58b Simple API endpoint for returning user's API key. 2013-12-01 19:58:27 -05:00
accounts Support non-subscriptions in billing. 2013-10-22 13:58:13 -04:00
blogs Going back to 10 per page. 2013-11-11 09:56:26 -05:00
jobs Some job stuff and some Mixpanel stuff. 2013-10-21 15:22:47 -04:00
media Ads ads the beautiful fruit. 2013-11-27 12:22:40 -05:00
snipts Ads ads the beautiful fruit. 2013-11-27 15:54:14 -05:00
templates Bust cache. 2013-11-27 12:23:29 -05:00
utils Allow users to login with email address in addition to username. 2013-05-13 10:03:27 -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 Removing some old Gunicorn stuff and refactors for Django 1.6. 2013-11-06 14:10:04 -05:00
README.md Update README.md 2013-10-25 13:49:57 -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
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 Jobs. 2013-09-06 01:11:01 -04:00
gunicorn.conf.server.py Let's try 9 workers. 2013-04-28 23:35:29 -04:00
manage.py Removing some old Gunicorn stuff and refactors for Django 1.6. 2013-11-06 14:10:04 -05:00
monitor.py Moving 2012-03-04 15:49:51 -05:00
requirements.txt Fix broken django-registration. 2013-11-12 12:51:15 -05:00
settings.py Removing some old Gunicorn stuff and refactors for Django 1.6. 2013-11-06 14:10:04 -05:00
settings_local-template.py Init secure mode for Intercom. 2013-05-08 17:44:11 -04:00
urls.py Simple API endpoint for returning user's API key. 2013-12-01 19:58:27 -05:00
views.py Simple API endpoint for returning user's API key. 2013-12-01 19:58:27 -05: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
  9. If you created a superuser in the syncdb step, you need to also run python manage.py backfill_api_keys to generate an API key for that user.

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