mirror of
https://github.com/yyolk/0P3NR3P0.git
synced 2026-08-20 20:35:24 +00:00
A couchapp as an interface +db to 0P3NR3P0
http://www.0p3nr3p0.net
- HTML 58.4%
- JavaScript 33.3%
- CSS 7.7%
- SCSS 0.4%
- Ruby 0.2%
| _attachments | ||
| functions | ||
| lists | ||
| sass | ||
| shows | ||
| templates | ||
| vendor | ||
| views | ||
| .couchappignore | ||
| .gitignore | ||
| .python-version | ||
| _id | ||
| config.rb | ||
| couchapp.json | ||
| README.md | ||
| requirements.txt | ||
| rewrites.json | ||
| validate_doc_update.js | ||
UI to 0p3nr3p0
Currently 0P3NR3P0 uses the older version of the couchapp tool._
Howto (Roll your own):
##Recommended: use virtualenv
Use virtualenv and install couchapp with pip install -r requirementx.txt
###Howto use Virtualenv:
-
Install
virtualenvwithpip:pip install virtualenv -
Use
virtualenvto use a local version ofcouchappthis will work concurrently if you also have the nodejscouchappinstalledvirtualenv venv --distribute -
Activate the newly created
venvsource ./venv/bin/activate -
Use
pipto installcouchappwith therequirements.txtpip install -r requirements.txt -
You can now follow Push changes to couchDB
(not using venv): Install pip
sudo easy_install pip
Use pip to install couchapp
pip install couchapp
Push changes to couchDB
couchapp push https://USER:PASS@127.0.0.1:5984/openrepo
Then open the URL that it prints, which should be something like:
2014-01-07 11:42:11 [INFO] Visit your CouchApp here:
http://localhost:5984/openrepo/_design/0P3NR3P0/index.html