
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
.. image:: https://img.shields.io/travis/couchapp/couchapp/master.png?style=flat-square :target: https://travis-ci.org/couchapp/couchapp
.. image:: https://img.shields.io/coveralls/couchapp/couchapp/master.png?style=flat-square :target: https://coveralls.io/r/couchapp/couchapp
CouchApp is designed to structure standalone CouchDB application development for maximum application portability.
CouchApp is a set of scripts and a jQuery <http://jquery.com>
_ plugin
designed to bring clarity and order to the freedom of
CouchDB <http://couchdb.apache.org>
_'s document-based approach.
Also, be sure to checkout our Erlang-based sibling,
erica <https://github.com/benoitc/erica>
_.
.. contents::
Render HTML documents using JavaScript templates run by CouchDB. You'll get parallelism and cacheability, using only HTML and JS. Building standalone CouchDB applications according to correct principles affords you options not found on other platforms.
Deploy your apps to the client ++++++++++++++++++++++++++++++
CouchDB's replication means that programs running locally can still be social. Applications control replication data-flows, so publishing messages and subscribing to other people is easy. Your users will see the benefits of the web without the hassle of requiring always-on connectivity.
Couchapp requires Python 2.6 or greater. Couchapp is most easily installed using the latest versions of the standard python packaging tools, setuptools and pip. They may be installed like so::
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python get-pip.py
Installing couchapp is then simply a matter of::
$ pip install couchapp
On OSX 10.6/10.7 you may need to set ARCH_FLAGS::
$ env ARCHFLAGS="-arch i386 -arch x86_64" pip install couchapp
To install/upgrade a development version of couchapp::
$ pip install -e git+http://github.com/couchapp/couchapp.git#egg=Couchapp
Note: Some installations need to use sudo command before each command line.
Note: On debian system don't forget to install python-dev.
To install on Windows follow instructions here <https://couchapp.readthedocs.org/en/latest/couchapp/install.html#installing-on-windows>
_.
More installation options on the website <https://couchapp.readthedocs.org/en/latest/couchapp/install.html>
_.
Read the tutorial <https://couchapp.readthedocs.org/en/latest/couchapp/gettingstarted.html>
_.
It's available at https://couchapp.readthedocs.org/en/latest
We use nose <http://nose.readthedocs.org/>
. and
nose-testconfig <https://pypi.python.org/pypi/nose-testconfig>
. for setting
up and running tests.
::
$ python setup.py nosetests
Config ++++++
Our nosetests
will run with options listed in setup.cfg
.
In the tests
directory, copy config.sample.ini
to config.ini
, tweak
the settings, and then modify your setup.cfg
::
[nosetests]
...
tc-file=tests/config.ini
Coverage ++++++++
If you're wanting to examine code coverage reports (because you've got big
plans to make our tests better!), you can browse around the cover
dir ::
$ cd cover
$ python2 -m SimpleHTTPServer
or (if you prefer python3)::
$ python3 -m http.server
Debug +++++
If you want to debug the failed run with pdb
, add the following option to
setup.cfg
::
[nosetests]
...
pdb=1
Thanks for testing couchapp
!
We generate the document via sphinx
.
First, prepare our building env.
We need sphinx
::
$ cd docs/
$ pip install sphinx
To build it, just issue::
$ make html
And sphinx will generate static html at docs/_build/html. We can browse the site from this dir already.
List of CouchApps <https://couchapp.readthedocs.org/en/latest/user/list-of-couchapps.html>
_FAQs
Standalone CouchDB Application Development Made Simple.
We found that Couchapp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.