Labs/Bespin/UserGuide: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 41: Line 41:
===Python API===
===Python API===


This section is still in development.
Firstly, you will need to grab the source. If you have mercurial installed then just do a
 
  hg clone http://hg.mozilla.org/labs/bespin/
 
Otherwise just download the tarball and extract it somewhere in you home directory.
 
Once your have everything on your hard disk open a terminal and go into the Bespin directory. Then change into the backend folder
 
  cd backend/python
 
and install all the requirements with
 
  python bootstrap.py
 
This will take a few moments. After it is finished configure your installation and start the local server with the following three commands:
 
  source bin/activate
  paver create_db
  paver start
 
If  you see something like Server starting on localhost:8080 in the terminal it means everything went well and you are good to go. Just point your browser to http://localhost:8080 and off you go.


===Java API===
===Java API===
81

edits

Navigation menu