diff options
author | farhatahmad <ahmad.af.farhat@gmail.com> | 2020-02-19 17:47:41 -0500 |
---|---|---|
committer | farhatahmad <ahmad.af.farhat@gmail.com> | 2020-02-19 17:47:41 -0500 |
commit | 1b960a0625d0cfd42738ffd61210417616429f43 (patch) | |
tree | 0df69d739ca04e6fa8a1840130dc0e902e7fd11f /README.md | |
parent | 86c5873ce2193c29a830545dfb33270886ff32cb (diff) | |
download | scalelite-run-itzks-1b960a0625d0cfd42738ffd61210417616429f43.tar.gz scalelite-run-itzks-1b960a0625d0cfd42738ffd61210417616429f43.tar.bz2 scalelite-run-itzks-1b960a0625d0cfd42738ffd61210417616429f43.zip |
Changed default values
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -75,8 +75,8 @@ cp scalelite/dotenv scalelite/.env You can start it as is, but you may want to replace both variables with your own values. -- `SECRET_KEY_BASE` is the Ruby On Rails secret key and should be replaced with a random one generated with `openssl rand -hex 64`. -- `LOADBALANCER_SECRET` is the shared secret used by external applications for accessing Scalelite LoadBalancer as if it was a BigBlueButton server. By default, it includes the Secret used for test-install (which is also the first server added to the pool as example). +- `SECRET_KEY_BASE` is the Ruby On Rails secret key and must be replaced with a random one generated with `openssl rand -hex 64`. +- `LOADBALANCER_SECRET` is the shared secret used by external applications for accessing Scalelite LoadBalancer as if it was a BigBlueButton server. This variable must be defined in order for the application to start. A secret can be generated with `openssl rand -hex 24` ``` vi scalelite/.env @@ -245,7 +245,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 -As the only BigBlueButton Server configured by default is test-install, it comes intentionally disabled. It has to be manually enabled or a new server added. Either option has to be done through the console. +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: @@ -262,6 +262,7 @@ docker exec -it <CONTAINER_ID> sh Once inside, all the rails commands can be executed as needed. In this case, and assuming that the current current BigBlueButton server is going to be enabled. ``` +bundle exec rake servers:add[BIGBLUEBUTTON_SERVER_URL,BIGBLUEBUTTON_SERVER_SECRET] bundle exec rake servers bundle exec rake servers:enable["SERVER_ID_AS SHOWN"] ``` |