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

171 Commits

Author SHA1 Message Date
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
71912293a1 🤖 1-click android app building
TODO: README
2018-05-28 00:25:56 -04:00
Régis Behmo
f5a407cae7 🤡 Activate discussion forums 2018-05-28 00:25:56 -04:00
Régis Behmo
a213d2698e Build images with docker and not docker-compose
Otherwise, for some reason, it is not the right image that is uploaded
to dockerhub.
2018-05-24 15:56:27 +02:00
Régis Behmo
bfbc0c2b5b Switch docker hub username 2018-05-16 19:35:18 +02:00
Régis Behmo
9143413a7a Run migrations without opening port 2018-05-16 19:18:27 +02: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
7189ea90bf USER_ID -> USERID for coherence 2018-04-30 09:01:40 +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
419aa27501 Make sure default settings are respected
Closes #20
2018-04-24 08:19:39 +02:00
Régis Behmo
93a8fa0cba Collect assets with user-specified settings
This allows the user to easily collect assets in development
2018-04-21 12:41:34 +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
9ddc11a47b Collect assets for production
If we don't do this, assets are collected with the devstack settings by
default, which will fail.
2018-04-19 21:14:58 +02:00
Régis Behmo
1f7e68c662 Working devstack
This allows the user to run their own devstack inside the containers.
Yay!

Also, we handle file permissions cleanly: in docker-entrypoint.sh we
chmod the data and edx-platform files to the same UID of the user on the
host machine. No more permission headaches!
2018-04-12 11:36:14 +02:00
Régis Behmo
1f0509be2b Add note to Makefile 2018-03-26 19:26:04 +02:00
Régis Behmo
6361b9ad58 Fix SQL race condition
When running "wait-for-mysql.sh", the "echo 'show tables' | manage.py
dbshell" command is always considered a success, even if the database is
unreachable ($? == 0). So we replace this command by a global system
check.

This closes #3.
2018-02-10 18:38:17 +01:00
Régis Behmo
81af46fbe9 Create staff user, fix studio nginx static assets 2018-01-29 17:21:47 +01:00
Régis Behmo
0ff97197d0 Working stack: still some bugs to fix 2018-01-29 17:21:32 +01:00
Régis Behmo
61abe7691b Add import-demo-course make command 2017-09-19 10:54:45 +02:00
Régis Behmo
e357e763d7 Multiple improvements, including Ginkgo compatibility
Docker stack now includes a studio, smtp server, rabbitmq container and
an LMS worker. There are still a couple things to do, though. (see
TODOs)
2017-07-25 23:24:36 +02:00
Régis Behmo
12e08d7c5d Simplify migrations and static collection
Migrations and static assets collection are no longer performed every
time we build an image. Instead, they are run on command.
2017-07-23 19:27:25 +02:00