Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is RESTful API interface for NOPSA plugins for Word Processors etc. http://nopsa.hiit.fi/ Project website: link_to_ec2_instance HOW TO INSTALL Note: These set of instructions assume that you are running Debian (Lenny). It might also work for other systems as well. It is also assumed that you have sql server installed. 1) changing sources.list temporarily: create a backup of source.list: cp /etc/apt/sources.list /etc/apt/sources.list.backup rm /etc/apt/sources.list echo "deb http://ftp.debian.org/debian/ squeeze main" > /etc/apt/sources.list 2) update apt-get: sudo apt-get update 3) install tornado, sqlalchemy, simplejson: sudo apt-get install python2.6 python-tornado python-sqlalchemy python-simplejson 4) undo changes in source.list which we did in step 1: rm /etc/apt/sources.list cp /etc/apt/sources.list.backup /etc/apt/sources.list rm /etc/apt/sources.list.backup 5) update apt-get: sudo apt-get update Please don't skip step 4 and 5 as it will update other installed binaries which may harm other servers running on machine. 6) now tornado is installed but tornado version is 1.0.1 (we need atleast 1.2.1) and doesn't support all features are used in ribbon API. So lets manually update tornado. (we installed old tornado at first place so that all depedences can be installed): wget -O tornado.tar.gz https://github.com/downloads/facebook/tornado/tornado-1.2.1.tar.gz tar -xvvf tornado.tar.gz cd tornado-1.2.1 python2.6 setup.py install 7) run tornado tests to confirm install: cd tornado/test python2.6 runtests.py confirm that all tests run successfully 8) download the server code: (cd into the directory you want server code to reside) wget -O ribbon.tar.gz https://github.com/hasanatkazmi/NOPSA-Ribbon-API/tarball/master tar -xvvf ribbon.tar.gz cd hasanatkazmi* cd serverside python2.6 tornado.py By now server must be up and running. Visit http://localhost:8000 in a web browswer DEBUG: 0) Use aptitute to install if apt-get creates problems 1) Confirm database connectivity string in config.py 2) Confirm that line 137 of web/demp.htm conforms to the exact server address