Snipt: Glitch Edition
 
 
 
 
 
 
Go to file
Nick Sergeant 036a69b006 Update nginx conf. 2014-10-06 11:11:20 -04:00
.docker Update nginx conf. 2014-10-06 11:11:20 -04:00
accounts Make Pro Adams blog theme the default. 2014-07-11 10:43:09 -04:00
blogs Switching from Intercom to Olark. 2014-07-21 10:36:51 -04:00
jobs Some job stuff and some Mixpanel stuff. 2013-10-21 15:22:47 -04:00
media Intercom SHA tag and padding.: 2014-08-18 12:01:33 -04:00
snipts Promos for signup/Pro. 2014-08-18 11:00:49 -04:00
templates Remove Intercom widget. 2014-08-18 11:11:23 -04:00
utils Intercom SHA tag and padding.: 2014-08-18 12:01:33 -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
Dockerfile initial work on docker support 2014-09-25 23:17:29 -04:00
LICENSE Removing some old Gunicorn stuff and refactors for Django 1.6. 2013-11-06 14:10:04 -05:00
README.md Document `SESSION_COOKIE_DOMAIN` in installation. 2014-05-30 11:13:54 -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 Fabfile update. 2014-09-30 16:06:12 -04:00
fig.yml initial work on docker support 2014-09-25 23:17:29 -04:00
git-pre-commit Cleanup MathJax rendering a bit. 2014-05-20 10:43:05 -04:00
gunicorn.conf.server.py initial work on docker support 2014-09-25 23:17: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 initial work on docker support 2014-09-25 23:17:29 -04:00
settings.py Fix host. 2014-09-26 12:01:23 -04:00
settings_local-template.py initial work on docker support 2014-09-25 23:17:29 -04:00
urls.py Fix up tag API endpoints, for #130. 2014-05-26 17:28:13 -04:00
views.py Record when a user goes Pro. 2014-06-27 10:24:35 -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. Be sure to change the SESSION_COOKIE_DOMAIN, or authentication won't work.
  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! :)