https://github.com/scaleit-org/etcd-api-wrapper
A wrapper application to use the ScaleIT-App API with ETCD
https://github.com/scaleit-org/etcd-api-wrapper
Last synced: 10 months ago
JSON representation
A wrapper application to use the ScaleIT-App API with ETCD
- Host: GitHub
- URL: https://github.com/scaleit-org/etcd-api-wrapper
- Owner: ScaleIT-Org
- License: mit
- Created: 2018-04-03T14:18:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-10T22:57:05.000Z (almost 8 years ago)
- Last Synced: 2025-03-12T11:48:44.863Z (about 1 year ago)
- Language: JavaScript
- Size: 343 KB
- Stars: 0
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# App Registry ETCD
Simple wrapper application for the ScaleIT-App API with ETCD
## Run App
General prerequisites:
1. Install Git (https://git-scm.com/)
2. Install Docker (https://www.docker.com/products/docker)
3. Install docker-compose if you are working on a linux system (https://docs.docker.com/compose/install/#install-compose-on-linux-systems)
### Docker Compose
Just run following commands in the main directory:
docker-compose build
docker-compose up
### Standalone
To use the application without docker just go into the folder "server":
cd server
and execute:
node app.js
### HTTPS
If you want to use the server with https you need to generate a certificate:
Generate certificate and key:
1. openssl genrsa -des3 -out server.enc.key 1024
2. openssl req -new -key server.enc.key -out server.csr
3. openssl rsa -in server.enc.key -out server.key
4. openssl x509 -req -days 365 -in server.csr -signkey ser
and change the protocol the docker-compose file or directly in app.js