With Couchfy you can create a pattern for your application in CouchDB.
The tool enables build the design document and, as option, synchronize with database.
- CPython 3.3
- pycouchdb
Download the Couchfy.
For install:
python3 setup.py install
In the directory _design, create your pattern. You can find an example in the directory example/_design.
You must create the configuration file "couchfy.config.json". A example in example/_design.
In _design/build directory, are all compiled documents.
Your project should look like this:
your_project/
couchfy.config.json
_design/
Go to the directory of your project.
e.g.:
cd /user/your_project
For run:
python3 -m couchfy
If you want synchronize with CouchDB:
python3 -m couchfy -s sync