2012-09-18 16:35:36 -07:00
|
|
|
# Snipt
|
|
|
|
|
|
|
|
This is the codebase for the website, [Snipt.net](https://snipt.net/).
|
|
|
|
|
2013-01-20 13:40:37 -08:00
|
|
|
It's a relatively well-kept Django app, so you shouldn't have too many problems getting a local copy running.
|
|
|
|
|
2013-01-20 16:30:25 -08:00
|
|
|
**Note:** These instructions assume you already have [Git](http://git-scm.com/) and [Mercurial](http://mercurial.selenic.com/) installed.
|
2012-11-15 08:06:24 -08:00
|
|
|
|
2012-11-15 08:06:40 -08:00
|
|
|
If you need help, visit `#snipt` on irc.freenode.net.
|
2012-09-18 16:35:36 -07:00
|
|
|
|
|
|
|
# Running the Django app
|
|
|
|
|
|
|
|
1. Clone the repo.
|
|
|
|
2. Setup a virtualenv.
|
2012-10-02 16:09:39 -07:00
|
|
|
3. `pip install -r requirements.txt`
|
2012-10-02 16:32:06 -07:00
|
|
|
4. `pip install --index-url https://code.stripe.com --upgrade stripe`
|
2013-03-25 18:41:29 -07:00
|
|
|
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`
|
2012-09-18 16:36:25 -07:00
|
|
|
|
|
|
|
Any problems / questions / bugs, [create an issue](https://github.com/nicksergeant/snipt/issues). Thanks! :)
|