6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-09 14:50:59 +00:00
Commit Graph

305 Commits

Author SHA1 Message Date
Régis Behmo
7105183172 Move .env file as part of the upgrade-to-tutor command 2019-01-05 12:45:20 +01:00
Régis Behmo
d7ffd439ef Fix xqueue consumer command
This should address issue #109.
2019-01-04 10:22:37 +01:00
Régis Behmo
65fd2114f8 Fix docs demo course external link 2018-12-30 15:13:36 +01:00
Régis Behmo
fee0956a5e Better doc titles wording in local install 2018-12-30 15:12:59 +01:00
Régis Behmo
ef7c769808 Fix "missing webpack-stats.json" 500 error in CMS
The STATIC_ROOT for the CMS is not the same as the LMS.

To apply this fix, run:

    make update
    make assets
    make restart-openedx

Close #111.
2018-12-30 13:13:39 +01:00
Régis Behmo
e864e94bb5
Fix docs link (ssl not supported, yet) 2018-12-28 16:52:33 +01:00
Régis Behmo
c393dda48e Upgrade to tutor on running "make config.json" 2018-12-27 14:24:47 +01:00
Régis Behmo
91be239ca1 Update asciinema link 2018-12-27 02:49:12 +01:00
Régis Behmo
31e7bd9631 Fix https-certificate command parsing error 2018-12-27 02:31:47 +01:00
Régis Behmo
83d839b20e Fix double interactive conf 2018-12-27 02:29:28 +01:00
Régis Behmo
13d1baa6b6 Fix quickstart instructions 2018-12-27 01:28:40 +01:00
Régis Behmo
30105610e4 Missing feature wording 2018-12-27 01:27:19 +01:00
Régis Behmo
5937d757fb In quickstart, suggest "make all" and not "local" 2018-12-27 01:17:12 +01:00
Régis Behmo
615cb72921 Attempt to fix doc encoding errors 2018-12-26 19:38:03 +01:00
Régis Behmo
0c6372d0ff Change tutor docs url to overhang.io domain 2018-12-26 19:32:36 +01:00
Régis Behmo
8f7814cad3 Change "openedx-docker" github urls to tutor 2018-12-26 19:29:32 +01:00
Régis Behmo
bb5f10fc16 First steps with kubernetes
Kubernetes is currently *not* functional, but it will be, soon!
2018-12-26 19:27:08 +01:00
Régis Behmo
eab812b63d Move portainer to a dedicated make command
Portainer is no longer a global activation flag, because it does not
make much sense in the context of kubernetes. Instead, we use a simpler
"make" command.
2018-12-26 19:27:08 +01:00
Régis Behmo
a81593f6a8 Rename "singleserver" with "local" deployment 2018-12-26 19:27:08 +01:00
Régis Behmo
f2c476f954 Improve documentation 2018-12-26 19:27:08 +01:00
Régis Behmo
e993b3109f Stop the "ln -s" settings madness
Creating soft links to files that do not exist is just madness, let's
stop it. Instead, we take advantage of the CONFIG_ROOT environment
variable, which allows to place lms/cms.env/auth.json files anywhere.
2018-12-26 19:27:08 +01:00
Régis Behmo
87980f484b Rename custom settings from "universal" to "tutor" 2018-12-26 19:27:08 +01:00
Régis Behmo
ab4f94f030 Upgrade node to 5.5.1 in openedx image 2018-12-26 19:27:08 +01:00
Régis Behmo
0a3812cf4f Simplify env/configure commands
"env" now only generates the environment, and depends only on
config.json, which is run only when necessary. There exists only one
"make configure" command, which force-runs config.json and builds the
env.
2018-12-26 19:27:08 +01:00
Régis Behmo
fbef486ad4 Slim down configurator image with alpine
By switching from ubuntu:18.04 to alpine, we reduce the local image size
from 510 to 87 Mb. Because we don't use bash anymore, it's difficult to
rely on chroot, so we just get rid of docker-entrypoint.sh
2018-12-26 19:27:08 +01:00
Régis Behmo
c903ab2b12 Migrate openedx-docker project to Tutor 👩‍🏫
The project gets a new name and some proper documentation. Build/Deploy
are now properly separated.
2018-12-26 19:27:08 +01:00
Régis Behmo
d34e32658c Move scripts to dedicated folder in openedx image 2018-12-26 19:27:08 +01:00
Régis Behmo
d454cfd72d Add openedx-assets command
This is great for running a local webserver and watching theme changes
in just two commands.
2018-12-25 19:25:23 +01:00
Régis Behmo
22aa54d88f Automatically build themes from openedx/themes
No need for the THEMES variable.
2018-12-25 19:25:23 +01:00
Régis Behmo
9db0e59ae7 Faster "npm install"
This should shave a few minutes per build.
2018-12-25 19:25:23 +01:00
Régis Behmo
14b1047424 Upgrade demo course 2018-12-25 19:25:23 +01:00
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
Frank Anderson
beabe6c0cf Update Makefile
Moved the Comments to the beginning of the so `make` doesn't attempt to run the comments as commands.
2018-12-18 18:35:53 +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
62fa700b31 Easily change openedx docker image
Just add the OPENEDX_DOCKER_IMAGE variable to the .env file.
2018-11-28 20:18:10 +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
74533df152 Get rid of datadog 2018-11-28 19:22:25 +01:00
Régis Behmo
421b2d4124 Upgrade docker images to ubuntu 18.04
All images (except the openedx image, which requires ubuntu 16.04) are
upgraded.
2018-11-28 19:21:15 +01:00
Régis Behmo
f4558a6ca7 Interactively change default platform language 2018-11-28 18:28:46 +01:00
Régis Behmo
e94fee1767 Document how to run forked edx-platform 2018-11-26 12:07:58 +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
1d8fd232a5 Accelerate container bootstrapping
We don't need to run "chmod" on openedx files outside of development
mode. So, there is no need to set the USERID environment variable in
most cases. This should considerably accelerate pretty much all commands
that involve the openedx container.

For discussion consult PR #98.
2018-11-23 13:48:02 +01:00
Silvio Tomatis
d9f7ff830a Add missing line continuation in assets-development-[cl]ms 2018-11-23 12:00:51 +01:00
Régis Behmo
23ce23e76d No need for dependent containers in assets tasks 2018-11-20 19:06:43 +01:00
Régis Behmo
041113e9ee Revert "Attempt to generate assets with travis"
This reverts commit 9592672ff9.

Assets generation still requires too much time...
2018-11-20 19:06:21 +01:00
Régis Behmo
9592672ff9 Attempt to generate assets with travis
Now that assets generation has been accelerated (a little) we can
attempt again to run "make assets" in travisci.
2018-11-20 17:56:43 +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
fd4f8aa359 Fix cross-platform theme assets generation
Theme assets generation relies on a cache stored in memcache. We were
observing incorrect urls generated for theme/xblock assets whenever
assets had been generated for another platform. For instance, when
viewing an XBlock in the LMS right after running "paver update_assets"
in the cms.

To solve this problem, we cache staticfiles assets in entries with
different prefix.

Close #95
2018-11-20 16:41:22 +01:00