Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
builder.js
configure_yottadb.sh
createTestApp.sh
install_cache.sh
install_globalsdb.sh
install_gtm.sh
install_gtm_only.sh
install_node_only.sh
install_nodem.sh
install_redis_only.sh
install_rpi.sh
install_yottadb.sh
install_yottadb_only.sh
package.json
prepare.sh
reactEnvironment.sh
setup.js

README.md

QEWD Installers: Pre-built automated installers for creating working EWD 3 systems

This folder contains installers for creating ready-to-run QEWD systems. They are ideal for anyone new to QEWD and Redis, Cache or GT.M who wants to quickly discover how it works etc. They are also a great way to quickly get a working QEWD system up and running that you can then adapt and customise.

The installers are for use with Linux systems, virtual machines or Amazon EC2 instances, and also for the Raspberry Pi.

Use them as a starting point and guide for creating customised systems and/or for installing QEWD on systems that already include Node.js, Cache or GT.M

Rob Tweed rtweed@mgateway.com
4 January 2017, M/Gateway Developments Ltd http://www.mgateway.com

Twitter: @rtweed

Google Group for discussions, support, advice etc: http://groups.google.co.uk/group/enterprise-web-developer-community

Using the Installers

Installing QEWD with the YottaDB Database

On a freshly-installed Ubuntu system or on a Raspberry Pi with Raspian freshly installed:

 cd ~
 wget https://raw.githubusercontent.com/robtweed/qewd/master/installers/install_yottadb.sh
 source install_yottadb.sh

Note: this will install and configure:

  • Node.js
  • YottaDB
  • QEWD
  • NodeM

On completion, QEWD will be ready for use - just start it up.

Don't use this installer if you already have some or all of the components already installed.

Installing QEWD with the GlobalsDB Database

On a freshly-installed Ubuntu system:

 cd ~
 wget https://raw.githubusercontent.com/robtweed/qewd/master/installers/install_globalsdb.sh
 source install_globalsdb.sh

Note: this will install and configure:

  • Node.js
  • GlobalsDB
  • QEWD
  • cache.node

On completion, QEWD will be ready for use - just start it up.

Don't use this installer if you already have some or all of the components already installed.

Installing QEWD with the Cache Database

The install script at:

 https://raw.githubusercontent.com/robtweed/qewd/master/installers/install_cache.sh

is not intended to be run as a script, but more as a template set of instructions that you should use as a baseline and adapt, as appropriate, for your particular system.

Installing QEWD, Redis and ewd-redis-globals on a Raspberry Pi

See above for installing QEWD and YottaDB on your Raspberry Pi.

If you'd prefer to use Redis with QEWD on your Raspberry Pi:

The installer assumes you've done a fresh installation of NOOBS/Raspbian. Then:

 cd ~
 wget https://raw.githubusercontent.com/robtweed/qewd/master/installers/install_rpi.sh
 source install_rpi.sh

Be patient - it all takes quite a while to install, but it should get there in the end.

Running QEWD

Start QEWD using

 cd ~/qewd
 node qewd

On a Caché / Linux system you'll probably need to use sudo:

 cd ~/qewd
 sudo node qewd

Running the qewd-monitor Application

QEWD will be listening on port 8080, so, to try out the qewd-monitor application, use the URL:

 http://192.168.1.230:8080/qewd-monitor/index.html

 (change the IP address to that assigned to your Linux machine or Raspberry Pi)

When prompted for a password, enter:

 keepThisSecret!

You can change the password by editing the startup file: ~/qewd/qewd.js

For More Information on QEWD

Go to the QEWD Web site, click the Documentation link and go through the free online training course you'll find there.

License

Copyright (c) 2016 M/Gateway Developments Ltd,
Reigate, Surrey UK.
All rights reserved.

http://www.mgateway.com
Email: rtweed@mgateway.com

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.