8000 GitHub - janiel14/first-app-couchdb: My first app in couchDB
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

janiel14/first-app-couchdb

Repository files navigation

first-app-couchdb

My first app in couchDB

Requirements

  • couchDB >=1.2.18
  • Node JS >=10.15

Important

  • Couch DB using basic authentication
  • For deploy this project existing file lookafter.conf to use in NGINX configuration. Please copy file to /etc/nginx/conf.d edit if necessary.
  • For use docker have into project file docker-compose.yaml to up 4 container and 1 couchdb. Please before up docker compose create network and start project into container. Edit if necessary.

How to deploy in Linux

  • export NODE_ENV=${enviroment} ex: production
  • export NODE_DEBUG=${debug} ex: false
  • export NODE_PORT=${port_run_app}
  • export NODE_COUCHDB_HOST=${ip_couch_db} ex: http://10.70.0.15:5984
  • export NODE_COUCHDB_USER=${user_couch_db} ex: root
  • export NODE_COUCHDB_PASS=${pass_couch_db} ex: m200k9
  • export NODE_COUCHDB_DBNAME=${dbname} ex: look_after
  • npm install
  • bower install
  • npm start

How to deploy in Windows

  • SET NODE_ENV=${enviroment} ex: production
  • SET NODE_DEBUG=${debug} ex: false
  • SET NODE_PORT=${port_run_app}
  • SET NODE_COUCHDB_HOST=${ip_couch_db} ex: http://10.70.0.15:5984
  • SET NODE_COUCHDB_USER=${user_couch_db} ex: root
  • SET NODE_COUCHDB_PASS=${pass_couch_db} ex: m200k9
  • SET NODE_COUCHDB_DBNAME=${dbname} ex: look_after
  • npm install
  • bower install
  • npm start

About

My first app in couchDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0