1 | # QEWD Installers: Pre-built automated installers for creating working EWD 3 systems
|
2 |
|
3 | This folder contains installers for creating ready-to-run QEWD systems. They are ideal for anyone
|
4 | 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
|
5 | working QEWD system up and running that you can then adapt and customise.
|
6 |
|
7 | The installers are for use with Linux systems, virtual machines or Amazon EC2 instances, and also for the Raspberry Pi.
|
8 |
|
9 | Use them as a starting point and guide for creating customised systems and/or for installing QEWD on systems that already
|
10 | include Node.js, Cache or GT.M
|
11 |
|
12 | Rob Tweed <rtweed@mgateway.com>
|
13 | 4 January 2017, M/Gateway Developments Ltd [http://www.mgateway.com](http://www.mgateway.com)
|
14 |
|
15 | Twitter: @rtweed
|
16 |
|
17 | Google 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 |
|
23 | On 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 |
|
29 | Note: this will install and configure:
|
30 |
|
31 | - Node.js
|
32 | - YottaDB
|
33 | - QEWD
|
34 | - NodeM
|
35 |
|
36 | On completion, QEWD will be ready for use - just start it up.
|
37 |
|
38 | Don'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 |
|
43 | On 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 |
|
49 | Note: this will install and configure:
|
50 |
|
51 | - Node.js
|
52 | - GlobalsDB
|
53 | - QEWD
|
54 | - cache.node
|
55 |
|
56 | On completion, QEWD will be ready for use - just start it up.
|
57 |
|
58 | Don'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 |
|
63 | The 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 |
|
73 | See above for installing QEWD and YottaDB on your Raspberry Pi.
|
74 |
|
75 | If 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 |
|
90 | Start QEWD using
|
91 |
|
92 | cd ~/qewd
|
93 | node qewd
|
94 |
|
95 | On a Caché / 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 |
|
104 | QEWD 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 |
|
110 | When prompted for a password, enter:
|
111 |
|
112 | keepThisSecret!
|
113 |
|
114 | You can change the password by editing the startup file: ~/qewd/qewd.js
|
115 |
|
116 |
|
117 |
|
118 | ## For More Information on QEWD
|
119 |
|
120 | Go to the [QEWD Web site](http://qewdjs.com), click the Documentation link and
|
121 | go 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.
|