Pypaste / INSTALL

Installation instruction for friendpaste
======================================


Requirements :
 * CouchDB 7.2 & above 
 * couchdb-python (http://code.google.com/p/couchdb-python))
 * werkzeug (http://werkzeug.pocoo.org/), use hg last tip
 * jinja (http://jinja.pocoo.org/), use hg last tip
 * wtforms (http://dev.simplecodes.com/projects/wtforms), 
   use hg last tip
 * pygments 0.8 (http://pygments.org/)

Code source here :
hg clone http://dev.e-engura.com/hg/friendpaste

By default friendpaste dev version use a database named 
"friendpaste" and couchdb on "http://localhost:5984". 
You could change it in settings.py file.


First start :
The first time you use Friendpaste, you need to setup its database:
python management_friendpaste.py setup

then run friendpaste.


To launch friendpaste :

python management_friendpaste.py runserver (or shell if you want a shell)

The first time, this script is launched database and views are created.


Use Friendpaste with fastcgi :

Just point your webserver to friendpaste.cgi. 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.