|
@@ -221,7 +221,7 @@ Note that the application can be run in the background with `docker-compose up -
|
221
|
221
|
<a name="initializing-pool"/>
|
222
|
222
|
|
223
|
223
|
#### 4.1. Initializing pool of servers
|
224
|
|
-Since there are no servers added by default, atleast 1 server must be added and enabled in order to get started.
|
|
224
|
+Since there are no servers added by default, atleast 1 server must be added and enabled in order to get started.
|
225
|
225
|
|
226
|
226
|
Open a new console and get the IDs of the docker containers running:
|
227
|
227
|
|
|
@@ -266,20 +266,29 @@ sudo .scripts/deploy.sh
|
266
|
266
|
|
267
|
267
|
<a name="rolling-out-updates-automatic"/>
|
268
|
268
|
|
269
|
|
-##### 4.2.2. Automatic updates and auto-start
|
|
269
|
+##### 4.2.2. Automatic updates
|
270
|
270
|
|
271
|
271
|
Use the scripts provided.
|
272
|
272
|
|
273
|
273
|
```
|
274
|
|
-sudo ln -s /home/ubuntu/scalelite-run/scripts/deploy.sh /usr/local/bin/scalelite-deploy
|
275
|
|
-sudo cp /home/ubuntu/scalelite-run/scripts/scalelite-auto-deployer.service /etc/systemd/system/scalelite-auto-deployer.service
|
276
|
|
-sudo cp /home/ubuntu/scalelite-run/scripts/scalelite-auto-deployer.timer /etc/systemd/system/scalelite-auto-deployer.timer
|
|
274
|
+sudo ln -s <YOUR ROOT>/scalelite-run/scripts/deploy.sh /usr/local/bin/scalelite-deploy
|
|
275
|
+sudo cp <YOUR ROOT>/scalelite-run/scripts/scalelite-auto-deployer.service /etc/systemd/system/scalelite-auto-deployer.service
|
|
276
|
+sudo cp <YOUR ROOT>/scalelite-run/scripts/scalelite-auto-deployer.timer /etc/systemd/system/scalelite-auto-deployer.timer
|
277
|
277
|
sudo systemctl daemon-reload
|
278
|
278
|
sudo systemctl enable scalelite-auto-deployer.service
|
279
|
279
|
sudo systemctl enable scalelite-auto-deployer.timer
|
280
|
280
|
sudo systemctl start scalelite-auto-deployer.timer
|
281
|
281
|
```
|
282
|
282
|
|
|
283
|
+<a name="starting-automatic"/>
|
|
284
|
+
|
|
285
|
+##### 4.2.3. Automatic start
|
|
286
|
+
|
|
287
|
+Use the scripts provided.
|
|
288
|
+
|
|
289
|
+```
|
|
290
|
+```
|
|
291
|
+
|
283
|
292
|
<a name="distributed-deployment"/>
|
284
|
293
|
|
285
|
294
|
## II. Distributed Deployment
|