CloudWall is a platform for developing, testing, building, deploying and running CouchDB hosted apps. See details and running version at https://cloudwall.me.
Since CloudWall is in permanent beta state, sync your data with remote CouchDB frequently.
CloudWall generally need just simplest static hosting to run. To install from Github repo type git clone git://github.com/ermouth/cloudwall.git folderName
, then map folderName
to a URL.
You can replicate CloudWall from the repo DB, and, optionally, setup vhosts
configuration. To replicate CloudWall, create below doc in the _replicator
bucket of your CouchDB:
// Please, don’t make sync continuous, repo is of very limited capacity.
// For CouchDB 1.x
{
"_id": "cw24",
"source": "https://cloudwall.smileupps.com/cw24/",
"target": "cloudwall",
"create_target":true,
"doc_ids":["_design/cw24","_design/photon"],
"user_ctx":{"name":"admin", "roles":["_admin"]}
}
// For CouchDB 2.x, target credentials required
{
"_id": "cw24",
"source": "https://cloudwall.smileupps.com/cw24/",
"target": "http://admin:__________@localhost:5984/cloudwall",
"create_target":true,
"doc_ids":["_design/cw24","_design/photon"]
}
CloudWall now can be started from mydomain.com/cloudwall/_design/cw24/index.html
. Bit long URL, to make it shorter set up domain binding.
To bind dedicated subdomain to CloudWall, first, make sure you have DNS A-record for the subdomain. Then go to CouchDB config editor, and create/modify below keys:
[vhosts]
cw.mydomain.com = /cloudwall/_design/cw24/_rewrite
[httpd]
secure_rewrites = false
CloudWall now starts from cw.mydomain.com/
, the domain root. Rewrite rules also make entire CouchDB available from the domain root, to allow in-domain auth and DB sync.
The profile.json
attachment of _design/cw24
contains default user profile, which includes default list of DBs user connects at start. Edit that attachment to set up the list.
To make custom build of CloudWall, please read how to install CloudWall sources.
(c) 2019 ermouth. CloudWall is MIT-licensed.