A Sweet based web app that acts like an editor studio in which one is able to do semantic markup, annotate existing web content. This studio is just one component of a larger Semantic Style Sheet system.
License: Other
Python 26.87%HTML 4.82%JavaScript 60.95%CSS 7.36%
rnr_studio's Introduction
==REQUIREMENTS==
--python packages--
Flask
pymongo
oursql
requests
lxml
sweetmaker
--applications--
mySQL
MongoDB
libxml
libxslt
==CONFIGURATION==
Copy the sampleConf.py and sampleConfig.js file to conf.py and config.js, respectively, and modify the files.
==INSTALL==
To install the required dependencies, use the following command when inside the top level directory of the project.
$python setup.py develop
After the packages and dependencies have been satisfied, the application can be started by,
$python alipi.py
==DEPLOYMENT==
Alipi is a flask application. To deploy flask applications, please see http://flask.pocoo.org/docs/deploying/#deployment
I had trouble launching mongodb seperately on my localhost (laptop). Due to this, for testing purposes, I commented out the g.connection and g.db code in Alipi.py. Whenever I have mongodb up and running, I need to uncomment and reconnect the mongodb. Check @app before_request and @app teardown_request and last line of alipi.py code for commented code.
currently the verification / captcha code has been commented out. This is for testing purposes only. captcha code needs to be reconnected for production environments.