Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ermouth/cloudwall

A platform for developing, testing, building, deploying and running CouchDB hosted apps.
https://github.com/ermouth/cloudwall

Last synced: 1 day ago
JSON representation

A platform for developing, testing, building, deploying and running CouchDB hosted apps.

Awesome Lists containing this project

README

        

# CloudWall 2.4.2 static
CloudWall is a platform for developing, testing, building, deploying and running CouchDB hosted apps.
See details and running version at [https://cloudwall.me](https://cloudwall.me).

Since CloudWall is in permanent beta state, sync your data with remote CouchDB frequently.

## Install to a static hosting
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.

## Install as a CouchDB-hosted app
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:
```javascript
// 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.

## Custom build
To make custom build of CloudWall, please read [how to install](https://cloudwall.me/quickstart#h-19ngttzl) CloudWall sources.

---

(c) 2019 ermouth. CloudWall is MIT-licensed.