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
Régis Behmo
436ad015cf
Attempt to accelerate travis build
...
Assets collection is too time-consuming. The Travis build fails after 50
minutes. So we don't test it.
2018-06-11 02:37:50 -04:00
Régis Behmo
9d4743f00e
Give mysql more time
...
On Travis CI, provisioning may fail if mysql hass less than 10s to
bootstrap.
2018-06-08 19:18:17 -04:00
Régis Behmo
560f520af1
REALLY stop the containers on "make stop"
2018-06-08 18:50:12 -04:00
Régis Behmo
77b9a6a3e7
Fix major MySQL db connection bug
...
MySQL configuration file was in the wrong format. As a consequence, no
root user was created after running the mysql image for the first time.
2018-06-08 18:33:45 -04: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
7a179c079c
git-ignore development files and folders
...
I keep a TODO file locally, as well as data-RELEASE folders for working
on multiple releases at the same time.
2018-06-08 17:50:26 -04:00
Régis Behmo
6d532be635
Attempt to fix xqueue -> MySQL connection errors
...
We explicitely set the MySQL connection port, even if it is the default
one. I don't think this solves anything, but it's a good idea to
set the port explicitely, generally speaking.
2018-06-08 17:47:01 -04:00
Régis Behmo
90247bc409
Move config.json to its (hopefully) final location
...
It didn't make much sense to store config.json inside the "openedx"
subfolder anymore, since the configuration values now affect all
services.
2018-06-08 17:39:34 -04:00
Régis Behmo
5cb51e0334
Allow direct access to gunicorn process in production
...
This is not a security issue because ports 8000-8001 are not open to the
world; it should also drastically simplify the life of many people. See
for instance issues #30 and #34 .
Also, we allow access to nginx on hostnames "localhost" and
"studio.localhost" for lms and cms, respectively. Again, this will
remove much of the confusion for many users.
2018-06-08 17:32:22 -04:00
Régis Behmo
8366376bd0
Run provision command faster
...
By not setting the USERID environment variable, we don't have to chown
the /openedx folder, which makes the "provision" command much faster.
2018-06-08 17:19:12 -04:00
Régis Behmo
af49fef7db
Don't suggest to provision DBs in the docs
...
It is unnecessary to document the "provision" command, because it is
called automatically by the "migrate" command.
2018-06-08 17:18:23 -04:00
Régis Behmo
103a9afbbf
Xqueue is not a missing feature anymore
2018-06-08 17:14:45 -04:00
Régis Behmo
8ba0887724
Test migrations and assets on Travis CI
2018-06-08 09:58:59 -04:00
Régis Behmo
abf95862fe
Clarify migration instructions
2018-06-08 09:46:30 -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
4dc20e3d2b
Instruct to use "localhost" for local testing.
2018-06-04 21:43:40 -04:00