- Install Node
sudo npm install -g ionic
sudo npm install -g gulp-cli
npm install @types/node --save-dev
(TypeScript 2)npm install -g add-cors-to-couchdb # may require sudo
npm install
add-cors-to-couchdb && ionic serve
- Install Docker
docker pull klaemo/couchdb:2.0.0
(see more: https://goo.gl/rdrS63)- Run CouchDB 2 container:
docker run -p 5984:5984 klaemo/couchdb:2.0.0
on fish shell curl -X PUT http://127.0.0.1:5984/_users
curl -X PUT http://127.0.0.1:5984/bolty
ionic platform add android
cordova plugin add cordova-plugin-whitelist
ionic build android