-
Notifications
You must be signed in to change notification settings - Fork 0
Implementation
Efra Espada edited this page Sep 30, 2018
·
4 revisions
npm install @efraespada/turbine --save
Dependencies used.
Define the list of databases to manage in databases
index.
const Turbine = require('@efraespada/turbine');
let turbine = new Turbine({
"turbine_port": 4004,
"turbine_ip": "http://localhost",
"databases": ["database"],
"debug": true
});
turbine.server();
Once Turbine is started, data
folder is created to manage and store data. This package contains server and client methods. For external node processes install and implement Turbine for use client methods.
sudo kill `sudo lsof -t -i:4006`
Copyright 2018 Efraín Espada
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.