UNPKG

5.17 kBMarkdownView Raw
1# QEWD Installers: Pre-built automated installers for creating working EWD 3 systems
2
3This folder contains installers for creating ready-to-run QEWD systems. They are ideal for anyone
4new 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
5working QEWD system up and running that you can then adapt and customise.
6
7The installers are for use with Linux systems, virtual machines or Amazon EC2 instances, and also for the Raspberry Pi.
8
9Use them as a starting point and guide for creating customised systems and/or for installing QEWD on systems that already
10include Node.js, Cache or GT.M
11
12Rob Tweed <rtweed@mgateway.com>
134 January 2017, M/Gateway Developments Ltd [http://www.mgateway.com](http://www.mgateway.com)
14
15Twitter: @rtweed
16
17Google Group for discussions, support, advice etc: [http://groups.google.co.uk/group/enterprise-web-developer-community](http://groups.google.co.uk/group/enterprise-web-developer-community)
18
19## Using the Installers
20
21### Installing QEWD with the YottaDB Database
22
23On a freshly-installed Ubuntu system or on a Raspberry Pi with Raspian freshly installed:
24
25 cd ~
26 wget https://raw.githubusercontent.com/robtweed/qewd/master/installers/install_yottadb.sh
27 source install_yottadb.sh
28
29Note: this will install and configure:
30
31- Node.js
32- YottaDB
33- QEWD
34- NodeM
35
36On completion, QEWD will be ready for use - just start it up.
37
38Don't use this installer if you already have some or all of the components already installed.
39
40
41### Installing QEWD with the GlobalsDB Database
42
43On a freshly-installed Ubuntu system:
44
45 cd ~
46 wget https://raw.githubusercontent.com/robtweed/qewd/master/installers/install_globalsdb.sh
47 source install_globalsdb.sh
48
49Note: this will install and configure:
50
51- Node.js
52- GlobalsDB
53- QEWD
54- cache.node
55
56On completion, QEWD will be ready for use - just start it up.
57
58Don't use this installer if you already have some or all of the components already installed.
59
60
61### Installing QEWD with the Cache Database
62
63The install script at:
64
65 https://raw.githubusercontent.com/robtweed/qewd/master/installers/install_cache.sh
66
67 is not intended to be run as a script, but more as a template set of instructions that you should
68 use as a baseline and adapt, as appropriate, for your particular system.
69
70
71### Installing QEWD, Redis and ewd-redis-globals on a Raspberry Pi
72
73See above for installing QEWD and YottaDB on your Raspberry Pi.
74
75If you'd prefer to use Redis with QEWD on your Raspberry Pi:
76
77 The installer assumes you've done a fresh installation of NOOBS/Raspbian. Then:
78
79 cd ~
80 wget https://raw.githubusercontent.com/robtweed/qewd/master/installers/install_rpi.sh
81 source install_rpi.sh
82
83 Be patient - it all takes quite a while to install, but it should get there in the end.
84
85
86
87## Running QEWD
88
89
90Start QEWD using
91
92 cd ~/qewd
93 node qewd
94
95On a Cach&eacute; / Linux system you'll probably need to use sudo:
96
97 cd ~/qewd
98 sudo node qewd
99
100
101## Running the qewd-monitor Application
102
103
104QEWD will be listening on port 8080, so, to try out the qewd-monitor application, use the URL:
105
106 http://192.168.1.230:8080/qewd-monitor/index.html
107
108 (change the IP address to that assigned to your Linux machine or Raspberry Pi)
109
110When prompted for a password, enter:
111
112 keepThisSecret!
113
114You can change the password by editing the startup file: ~/qewd/qewd.js
115
116
117
118## For More Information on QEWD
119
120Go to the [QEWD Web site](http://qewdjs.com), click the Documentation link and
121go through the free online training course you'll find there.
122
123
124## License
125
126 Copyright (c) 2016 M/Gateway Developments Ltd,
127 Reigate, Surrey UK.
128 All rights reserved.
129
130 http://www.mgateway.com
131 Email: rtweed@mgateway.com
132
133
134 Licensed under the Apache License, Version 2.0 (the "License");
135 you may not use this file except in compliance with the License.
136 You may obtain a copy of the License at
137
138 http://www.apache.org/licenses/LICENSE-2.0
139
140 Unless required by applicable law or agreed to in writing, software
141 distributed under the License is distributed on an "AS IS" BASIS,
142 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
143 See the License for the specific language governing permissions and
144 limitations under the License.