summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjfederico <jesus@123it.ca>2020-02-20 14:49:26 -0500
committerjfederico <jesus@123it.ca>2020-02-20 15:46:05 -0500
commite3683c4abdd6abb055eee83b6d412c2dcf1ac8ff (patch)
tree2fad18ae6a229377173556952cd480d8df8bd180 /README.md
parenteec7cb8b9035e99f6cf455c4b12da3edcb411014 (diff)
downloadscalelite-run-itzks-e3683c4abdd6abb055eee83b6d412c2dcf1ac8ff.tar.gz
scalelite-run-itzks-e3683c4abdd6abb055eee83b6d412c2dcf1ac8ff.tar.bz2
scalelite-run-itzks-e3683c4abdd6abb055eee83b6d412c2dcf1ac8ff.zip
Added auto-start
updated scalite-run.service fixed auto-deployer.service
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 14 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3495c17..99bec7a 100644
--- a/README.md
+++ b/README.md
@@ -221,7 +221,7 @@ Note that the application can be run in the background with `docker-compose up -
<a name="initializing-pool"/>
#### 4.1. Initializing pool of servers
-Since there are no servers added by default, atleast 1 server must be added and enabled in order to get started.
+Since there are no servers added by default, atleast 1 server must be added and enabled in order to get started.
Open a new console and get the IDs of the docker containers running:
@@ -266,20 +266,29 @@ sudo .scripts/deploy.sh
<a name="rolling-out-updates-automatic"/>
-##### 4.2.2. Automatic updates and auto-start
+##### 4.2.2. Automatic updates
Use the scripts provided.
```
-sudo ln -s /home/ubuntu/scalelite-run/scripts/deploy.sh /usr/local/bin/scalelite-deploy
-sudo cp /home/ubuntu/scalelite-run/scripts/scalelite-auto-deployer.service /etc/systemd/system/scalelite-auto-deployer.service
-sudo cp /home/ubuntu/scalelite-run/scripts/scalelite-auto-deployer.timer /etc/systemd/system/scalelite-auto-deployer.timer
+sudo ln -s <YOUR ROOT>/scalelite-run/scripts/deploy.sh /usr/local/bin/scalelite-deploy
+sudo cp <YOUR ROOT>/scalelite-run/scripts/scalelite-auto-deployer.service /etc/systemd/system/scalelite-auto-deployer.service
+sudo cp <YOUR ROOT>/scalelite-run/scripts/scalelite-auto-deployer.timer /etc/systemd/system/scalelite-auto-deployer.timer
sudo systemctl daemon-reload
sudo systemctl enable scalelite-auto-deployer.service
sudo systemctl enable scalelite-auto-deployer.timer
sudo systemctl start scalelite-auto-deployer.timer
```
+<a name="starting-automatic"/>
+
+##### 4.2.3. Automatic start
+
+Use the scripts provided.
+
+```
+```
+
<a name="distributed-deployment"/>
## II. Distributed Deployment