Skip to content

leaonline/leaonline-content

Repository files navigation

Content server for lea.online

Test suite built with Meteor Project Status: Active – The project has reached a stable, usable state and is being actively developed. JavaScript Style Guide GitHub DOI

This application provides a content store for cross-application content within the lea.online environment.

Additional native dependencies

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.

Install DB Dump

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).

Important note

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.

License

AGPL-3.0, see LICENSE file for details