This application provides a content store for cross-application content within the lea.online environment.
This application requires native OS dependencies to handle file conversions
(via ImageMagick) and TTS synthesis (via espeak
).
See the install_dependencies.sh
script for details.
Note, that these dependencies also need to be installed on the target server by the MUP (Meteor-Up) deployment config.
If you want to work with a dump from prod/staging environment, you can use the fixtures.sh
script. It uses mongorestore
under the hood.
If you don't have mongorestore
installed, you may go to
their download page
and install it for your system using the installation guide.
After that you should be able to run the script without issues (unless there is a major version mismatch between your
production mongo and the local one).
After you successfully imported the dumped data you may need to recomute and relink data.
In settings.json
you need to set both patches.recomputeProgress
and patches.linkAlphaLevel
to
true
. The server will restart automatically. Once it ran through you can set them back to false
.
AGPL-3.0, see LICENSE file for details