From 1b960a0625d0cfd42738ffd61210417616429f43 Mon Sep 17 00:00:00 2001 From: farhatahmad Date: Wed, 19 Feb 2020 17:47:41 -0500 Subject: Changed default values --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ed705a9..06b5583 100644 --- a/README.md +++ b/README.md @@ -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 - #### 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 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"] ``` -- cgit v1.2.3