Skip to content

MaciejLukianski/snipt

 
 

Repository files navigation

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! :)

About

Long-term memory for coders. Share and store code snippets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published