6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-17 18:45:15 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Régis Behmo
3b215c9f88 Package static assets inside the openedx image
This allows us to deploy much faster: all we have to do is to copy the
assets from the container to the shared volume.

We also changed the way themes are managed: similarly to static assets,
they are now packaged inside the docker image.
2018-12-25 19:25:23 +01:00
Régis Behmo
0e670837cf 🎏 Download extra locales to the openedx docker image
This allows anyone to run a German 🇩🇪 or Japanese 🇯🇵 (for example)
platform without a transifex account or running any extra command.
2018-12-02 13:44:13 +01:00
Régis Behmo
9f60686fcd Enable customized themes
This makes assets collection faster because we no longer compile assets
from the themes bundled with edx-platform.

Close #88
2018-11-28 20:03:49 +01:00
Régis Behmo
0270f4f794 Fix ora2 uninstall prior to re-install 2018-11-25 22:24:25 +01:00
Régis Behmo
c9d1db1447 Local filesystem storage for ORA2 uploads
By default, open response assessment files are sent to S3. Here, we
store uploaded files with the "filesystem" backend instead. To do so, we
must install a forked version of ora2 that fixes a couple issues.

Note that the "django" backend is not very usable, as file extensions
are lost on upload.

Close #97
2018-11-25 11:48:47 +01:00
Régis Behmo
274432436f Fix assets generation in development
webpack requires the NODE_ENV environment variable which is incorrectly
set "paver update_assets" in development mode. To avoid this issue, we
split update_assets into its subparts.
2018-11-20 17:55:00 +01:00
Régis Behmo
080341a32e Remove persistent data in openedx containers
VOLUME statements in a container make the data persist in this folder.
There is no need to do so, so we just remove the statements.
2018-11-20 17:10:16 +01:00
Régis Behmo
1585a20558 Fix private requirements version control
private.txt was under version control.
2018-11-20 11:46:36 +01:00
Régis Behmo
79274f48b6 Make it easier to install extra XBlocks
As per issues #35 and #84
2018-11-13 18:40:01 +01:00
Régis Behmo
c2d536dae5 Upgrade to hawthorn.2 2018-10-02 10:20:14 +02:00
Régis Behmo
b4947d10e7 Prevent package uninstall in openedx image
The `update_assets` paver task of the lms/cms attempt to manually
uninstall some old packages. We should not concern ourselves by this,
since all requirements are installed from scratch in every docker image.

Close #73.
2018-10-01 19:18:01 +02:00
Régis Behmo
75fa18267f Install dev requirements in open edx image
Development environment crashes on missing debug_toolbar if we don't
install development requirements.
2018-08-27 22:40:44 +02:00
Régis Behmo
1f69e154c2 edx-platform should have its volume, too 2018-08-27 21:37:35 +02:00
Régis Behmo
bc5829e929 Declare volumes in open edx image
Volumes were used, but not declared. Consequently, data could not be
persisted e.g on kubernetes.

Close #48.
2018-08-22 16:29:04 +02:00
Régis Behmo
ac7fe77280 hawthorn.1 release
From a deployment perspective, this release comes with an upgrade of the
cs_comments_service (forums) and a change to the logging configuration.
2018-08-08 15:02:49 +02:00
Régis Behmo
85e7e45067 Wait more smartly for mysql DB to be ready
We replace the custom script wait-for-greenlight by dockerize: it is a
generic tool that allows for different services to be up. Also, on day,
it will allow us to generate config files dynamically (maybe).
2018-06-08 18:31:26 -04:00
Régis Behmo
5115873e12 Re-add graphviz deps, accidentaly removed 2018-06-08 09:24:18 -04:00
Régis Behmo
43a97e5fe3 Add xqueue services
Xqueue containers consist of two services: a gunicorn service, that
receives requests from LMS/CMS, and a worker service. I guess the worker
service receives orders from the gunicorn service, through rabbitmq.
(but I'm less than certain about that).

While adding xqueue containers, we refactored the way mysql databases
are created, and how the root password is loaded. Also, we silenced some
options from the configure script.
2018-06-04 23:41:22 -04:00
Régis Behmo
b488bcf8ec Download, don't build
Images are no longer built locally, Instead, they are downloaded from
docker hub. This completely changes config file organisation. In
particular, we no longer copy configuration files to the original docker
image.
2018-05-16 19:07:31 +02:00
Régis Behmo
d5bdae0b62 Place convenient scripts in more appropriate place 2018-05-16 17:39:56 +02:00
Régis Behmo
98ce9a8dac Root user is USERID=0, not 1000 2018-05-03 07:06:03 +02:00
Régis Behmo
b6dd4130e6 Load config files as mounted volumes
This allows changing the openedx config without rebuilding the image.
2018-04-27 23:33:48 +02:00
Régis Behmo
fb71baf917 Remove useless VOLUME declaration in Dockerfile 2018-04-27 23:23:15 +02:00
Régis Behmo
6bdc34e560 Fix "bash: /root/.bashrc: Permission denied" error
Closes #20.
2018-04-25 21:48:15 +02:00
Régis Behmo
b05e01d27e Don't try to chown symlink destinations
The symlinks from edx-platform that point to node_modules/ may have
non-existing targets in case of mounted edx-platform repo.

Closes #20.
2018-04-25 21:31:57 +02:00
Régis Behmo
dede31d1d3 Fix "missing XModule" error
XModule could not be found because the compiled package could not be
found in edx-platform/common/lib/xmodule. This was due to the fact that
build operations realised after a VOLUME statement are ignored if they
affect the content of this volume (although it's not mounted during
build, of course). This is not a bug, it's a feature of the VOLUME
statement :)
2018-04-20 09:36:38 +02:00
Régis Behmo
723836cc03 Fix unavailable demo course about pages
Demo course about pages were not available (and probably many other
pages as well) because the preview url was the same as the real url.

Kudos to @dannielarriola for solving this!

Close issues #11 #7.
2018-04-20 09:36:38 +02:00
Régis Behmo
bda9e042f9 No longer refer to 'edxapp'
'edxapp' is an old reference to the vagrant image and it does not make
much sense.
2018-04-12 15:45:59 +02:00