-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check for prerequisites on server start-up/install/upgrade #2059
Conversation
- git - grunt-cli - github-api connection warn if local mongo-db not found
When I execute
|
When I execute
I can proceed the installation. It stores the masterTenantName but not the masterTenantDisplayName in config.json. |
Need to wait on #2074 before this can be finished |
@taylortom regarding delay, should we add a flag to skip the checks? |
a82d733
to
3c21a5c
Compare
@lc-thomasberger have added a |
Console output$ node server
info: [11 Oct 2018 09:26:48 +01:00] configuration loaded from D:\adapt_authoring\conf\config.json
info: [11 Oct 2018 09:26:49 +01:00] Supporting the following authentication types:
info: [11 Oct 2018 09:26:49 +01:00] - local
warn: [11 Oct 2018 09:26:49 +01:00] You are using Node.js 10.11.0 which is not yet supported by Adapt. If you encounter issues, please downgrade to 8.x.
error: [11 Oct 2018 09:26:49 +01:00] Mailer requires the following settings to function: smtpService,smtpUsername,smtpPassword,fromAddress
error: [11 Oct 2018 09:26:49 +01:00] Local FFmpeg could not be found, please check it is installed
info: [11 Oct 2018 09:26:50 +01:00] Connection established: adapt-tenant-master
error: [11 Oct 2018 09:25:57 +01:00] Some of the prerequisites could not be found, see above for details.
|
@tomgreenfield fixed fatal error, not done anything about |
Fixes #880 and #1917.
Rebases #2046 and #2038 onto
release/0.5.1
(have done it this way due to the dependency between the two).Checks for the dependencies required by the application. Two levels of deps are defined.
Primary dependencies (i.e. stuff needed for the app to start):
Secondary dependencies (not necessary immediately):
Important note
This does add a delay to the server starting. In my local tests it was typically ~2 secs (everything runs async). A breakdown of this is something like: