0

I'm trying to automate the installation of canvas LMS which requires the execution of

bundle exec rake db:initial_setup

which asks for an admin email and password interactively

How do I pass those values in a non-interactive way?

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
Eslam
  • 1,623
  • 2
  • 12
  • 18

2 Answers2

0

It should be done by setting the following environmental variables :

CANVAS_LMS_ADMIN_EMAIL

CANVAS_LMS_ADMIN_PASSWORD

CANVAS_LMS_STATS_COLLECTION

CANVAS_LMS_ACCOUNT_NAME

Community
  • 1
  • 1
Eslam
  • 1,623
  • 2
  • 12
  • 18
0

I realize it's a late addition, but to clarify Eslam's answer, the details you're seeking are on the Production Start page under the Database Population heading.

Dustin
  • 153
  • 1
  • 7