Régis Behmo
500d690074
Add a self-documenting Make help
...
Picked from https://github.com/openfun/fun-platform , which itself picked
it from https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
Running `make help` or simply `make` now produces a beautiful colored
help.
2018-09-29 18:22:06 +02:00
Régis Behmo
7f5e91a0db
ACTIVATE_* env vars are only necessary during configuration
2018-09-29 17:36:25 +02:00
Régis Behmo
f85b0abac4
Add portainer as an optional feature
2018-09-29 15:10:25 +02:00
Régis Behmo
e5ce0c9a4c
Documentation fix: dev containers are for hawthorn
...
Close #71 .
2018-09-28 19:05:43 +02:00
Régis Behmo
fb36eb2d4e
Make sure configurator has curl
2018-09-19 16:44:01 +02:00
Régis Behmo
22872412c3
Collect some usage stats
2018-09-18 20:25:58 +02:00
Régis Behmo
30bc6df091
Improve wait for mysql db to be ready
2018-09-16 13:24:17 +02:00
Régis Behmo
fd5af3e01c
Improve configurator defaults and wording
2018-09-16 10:25:03 +02:00
Régis Behmo
75d86252bc
Push notes to docker hub on 'make push'
2018-09-15 20:31:49 +02:00
Régis Behmo
4964f12725
Rename provision and oauth2 make targets
2018-09-15 20:25:13 +02:00
Régis Behmo
8f915f2d50
Test Xqueue and Notes in travis-ci
2018-09-15 20:24:35 +02:00
Régis Behmo
ae44e2beb1
Docs: Clarify missing features
2018-09-15 20:22:02 +02:00
Régis Behmo
5ca9cec888
Add optional Student Notes service
...
With notes, students can annotate sections of the courseware.
2018-09-15 18:11:15 +02:00
Régis Behmo
04a0fb5902
Simplify configurator
...
Template files are now directly loaded in the configurator container, so
that it is possible to run the configurator container directly, outside
of this project.
2018-09-15 17:22:02 +02:00
Régis Behmo
b0f2adb931
Read default settings from environment variables
...
Moreover, ACTIVATE_* variables are now made permanent. It is no longer
necessary to re-declare them at each call of `make configure`.
2018-09-15 15:51:41 +02:00
Régis Behmo
df95a50ab5
Fix xqueue: proper version is hawthorn
2018-09-15 15:26:05 +02:00
Régis Behmo
06f6be737c
Docs: notifier is enabled
...
We didn't change anything, it's just that the notifier is activated by
default in hawthorn.
2018-09-15 15:13:56 +02:00
Régis Behmo
509bb91ef3
Split make assets command in two
2018-09-15 15:13:37 +02:00
Régis Behmo
e1d73660d2
Rename up & daemon make commands
...
The new commands are "run" and "daemonize". Older commands are
preserved, although they are undocumented.
2018-09-15 12:20:35 +02:00
Régis Behmo
adf994fa35
Add Changelog
2018-09-15 12:17:24 +02:00
Régis Behmo
f9a202083f
Enable course search and discovery
...
Also, improved openedx logging, so that logs are not emitted twice.
2018-09-15 12:17:24 +02:00
Matt Bajor
6af7c5891a
Fixes #62 : Put variables at the end of the make command
2018-09-07 10:51:52 +02:00
Régis Behmo
7e5dda28f0
Make sure configurator is pushed on 'make push'
...
Close #61 .
2018-09-06 07:35:26 +02:00
Régis Behmo
edec42779f
Fix travis builds on branches
...
For some reason, `docker login` doesn't work on pull requests. So we run
"docker login" only during deploy, and only on master and release
branches.
2018-09-05 14:04:38 +02:00
Régis Behmo
f76a4feb53
Make all outside email go from the same address
...
For most admins, it doesn't make much sense to send emails from many
email addresses. Here, we set a sane default that can be easily
overridden.
2018-09-05 12:24:07 +02:00
Régis Behmo
3587a187cd
Get PWD to work with "sudo"
...
The PWD environment variable is not available in the Makefile when a
"make" command is run with "sudo".
Close #50
Close #60
2018-09-04 12:13:18 +02:00
Régis Behmo
454bdb62df
I'm pretty desperate at this point
2018-09-03 07:54:55 +02:00
Régis Behmo
161de4629a
Print out git version in "make info"
2018-09-03 07:53:34 +02:00
flytreeleft
7989ee88d9
Enable HTTPS supports for CMS_HOST
2018-09-03 07:13:00 +02:00
Régis Behmo
21608386de
Fix "pull access denied for certbot_image"
...
Close #52
2018-08-28 15:53:26 +02:00
Régis Behmo
75d7ee688b
Fix profile image upload
...
Media file upload, such as video files or profile images, were uploaded
to /edx/var/edxapp/media because the MEDIA_ROOT setting is defined in
common.py.
Close #54 .
2018-08-27 23:19:16 +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
d3bd288231
Fix "invalid operator '$slice'" mongodb error
...
$slice operator was introduced in version 3.2:
https://docs.mongodb.com/manual/release-notes/3.2/
This addresses part of issue #54 .
2018-08-27 14:53:17 +02:00
Régis Behmo
5c3b463bc2
Attempt at highlighting section of github issue template
...
This is futile, I know.
2018-08-27 09:31:21 +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
564a419ec0
Fix KeyError: XQUEUE_INTERFACE['url']
...
'url' and 'django_auth' keys need to be defined in all cases, even when
Xqueue is not used. This is because of courseware.module_render.
2018-08-19 20:08:55 +02:00
Régis Behmo
41e6cd89fd
Fix missing XQUEUE_INTERFACE setting
2018-08-19 16:26:36 +02:00
Régis Behmo
8e46b4ca2b
Make Xqueue an optional feature
...
Xqueue is no longer run by default. Instead, add the ACTIVATE_XQUEUE
environment variable to add it to the platform.
2018-08-19 14:49:14 +02:00
Régis Behmo
c883af35f7
Add HTTPS support
...
HTTPS is now fully supported. The ACTIVATE_HTTPS feature flag needs to
be set. Required domain names are LMS_HOST, preview.LMS_HOST and
CMS_HOST.
Close #46 .
2018-08-19 14:49:14 +02:00
Régis Behmo
af6e62b069
Migrate templating to jinja2
...
In the future, jinja2 templates will allow us to create more complex
configuration templates.
2018-08-18 07:48:30 +02:00
Régis Behmo
ea2dd7c4fb
Generate configuration from Docker
...
We no longer run the `configure` script on the host. Instead, we run a
container that generates the configuration files. This opens the way for
more complex configuration templates that would be written in jinja2.
More complex templates are required for feature flags, such as SSL,
XQUEUE, etc.
2018-08-16 14:42:10 +02:00
Régis Behmo
920997cc20
Fix forum access error
...
Access url to forums was not configured.
Closes #47 .
2018-08-09 15:24:38 +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
aece509b31
Empty commit to trigger post_receive hooks
2018-07-20 11:12:11 +02:00
Régis Behmo
245655908a
Document the LMS/CMS urls
...
This closes issue #42 .
2018-07-16 19:42:39 +02:00
Régis Behmo
d97142a2ea
32 bit host platforms are unsupported.
...
Close issue #38 .
2018-07-16 14:53:44 +02:00
Régis Behmo
5e45e80c50
Improve docs regarding opening issues
2018-06-18 14:58:34 +02:00
Régis Behmo
d5890dadfb
Add issue template for better contributions
2018-06-18 14:31:39 +02:00
Régis Behmo
61bcc2aa29
Add convenient make debug
command
...
This command will certainly be used for github issue templating.
2018-06-18 14:20:08 +02:00