Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
learnexa_expertusone_flavours

LRS - Recordexa & ExpertusONE Flavors

Requirement

To support LRS in two flavors as - Learnexa LRS and ExpertusONE LRS.

Issue - 7321

Implementation

When we switch flavor site logo, admin details, footer, email templates, privacy & tos and etc. pages should reflect the changes. This is implemented with the help of SiteSetting model with SiteSetting.current_flavor attribute. Based on the value of this attribute, these changes will take place.

Setting up as ExpertusONE flavor

a) If this is an initial app server setup, add the following variable in the /config/environments/<environment>.rb

DEFAULT_FLAVOR = "expertusone"

Run the db:create, db:migrate and db:seed tasks.

b) If this is an already setup app and you need to change the flavor, check “Switching the flavor” below.

Switching the flavor

a) Login as super admin. Go to Manage > Site properties. Change the flavor and save. This will change the site name, super admin credentials and the logo.

b) If the super admin email needs to be changed, please run the following task.

 bundle exec rake backfill:update_super_admin_email["lrsadmin@expertus.com"]

C) If you also like to change the app server and API urls, change them in <rails_root>/config/environments/<environment.rb>.

learnexa_expertusone_flavours.txt · Last modified: 2018/08/31 16:16 (external edit)