Commit Graph

226 Commits

Author SHA1 Message Date
Régis Behmo ab4bfcbff7 gpl -> agpl 2019-01-18 15:19:18 +01:00
Régis Behmo 49317ac3df Open edX requires 4 Gb of RAM
After testing on a 2Gb server, Open edX can be run, but it's unbearably
slow.
2019-01-17 16:48:34 +01:00
Régis Behmo 1fbb995ec1 Fix Makefile.env sourcing
Makefile.env was not properly sourced, causing https certificates not to
be generated.
2019-01-17 16:26:42 +01:00
Régis Behmo c0073c441b Solve unavailable mysql on cold start
When booting for the first time, mysql has not properly initialized its
data. Here, we boot and stop mysql to make sure the root user has been
properly created.
2019-01-17 10:52:29 +01:00
Régis Behmo 537b42865f Add "make" to the tutor requirements 2019-01-17 10:42:15 +01:00
Régis Behmo c9314e196d Switch license to AGPL 2019-01-16 17:24:42 +01:00
Régis Behmo 8c261fa92c Move "make info" command to root folder
This should help during the error reporting step.
2019-01-16 17:19:34 +01:00
Régis Behmo 76e7b3b59d Fix https certificate location
HTTPS were generated in an incorrect location.
2019-01-15 20:48:30 +01:00
Régis Behmo f89ff69701 Copy assets as part of open edx restart 2019-01-15 09:48:19 +01:00
Régis Behmo 772e8257c3 It is no longer necessary to run "make assets" manually
Instead, assets are copied to nginx automatically on run.
2019-01-15 09:29:27 +01:00
Régis Behmo f8a401cab9 Add rabbitmq to k8s
Close #124.
2019-01-15 09:02:00 +01:00
Régis Behmo fee5b8aa72 Fix demo-course and staff-user commands for k8s
Because we use "exec" and not "run" like in the local install, we need
to explicitely define the django settings (which sucks). This should be
improved by using k8s Jobs.
2019-01-15 09:02:00 +01:00
Régis Behmo 422e6c100c Document upgrade to tutor
Close #109
Close #118
2019-01-07 08:22:29 +01:00
Régis Behmo dcd868d30f Rename "import-demo-course" make command 2019-01-07 08:13:47 +01:00
Régis Behmo f38f153c56 Rename "create-staff-user" command to "staff-user" 2019-01-07 08:12:37 +01:00
Régis Behmo 3433a7c046 Improve make commands documentation 2019-01-07 08:10:30 +01:00
Régis Behmo 752322e396 In k8s, migrate database as part of "make all" 2019-01-07 08:10:06 +01:00
Régis Behmo e6acdcc493 Fix "notes-backend may not have port 8000" error 2019-01-07 07:40:30 +01:00
Régis Behmo 3b7c1c25c5 Working Kubernetes instakk
This deployment of Kubernetes does not support all features.

Close #116.
2019-01-06 23:09:08 +01:00
Régis Behmo 58e7c3976d Simplify forum container configuration
Forum environment variables no longer need to be defined in
docker-compose. Instead, the default values defined at build time are
used.
2019-01-06 23:09:08 +01:00
Régis Behmo d0f02b7268 Re-add dependency of nginx to lms/cms
We re-introduce the dependency of the nginx container on the lms/cms
images. This dependency was removed to address a debugging scenario
which is actually not practical. Without this dependency, we are forced
to use an external docker-specific resolver which makes the local nginx
configuration incompatible with the kubernetes configuration.
2019-01-06 21:29:12 +01:00
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