6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-14 23:16:04 +00:00
Commit Graph

1217 Commits

Author SHA1 Message Date
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
Régis Behmo
065c53f9cb Fix travis build status 2018-06-01 10:35:48 -04:00
Régis Behmo
c075c52249 Only deploy on master branch 2018-06-01 10:34:09 -04:00
Régis Behmo
802e0a69ec Fix travis deploy step
Relying on web-defined env variables is just way simpler than encrypted
values.
2018-05-31 14:26:19 -04:00
Régis Behmo
e283016fc8 Improve README 2018-05-30 17:10:31 -04:00
Régis Behmo
de9b03daff Add asciinema video 2018-05-30 16:49:53 -04:00
Régis Behmo
6ce663a117 Add github issues badges to README 2018-05-30 14:01:03 -04:00
Régis Behmo
007f819d74 Travis integration 2018-05-30 14:00:55 -04:00
Régis Behmo
a01cd162d6 Add note about 'docker stats' 2018-05-29 13:52:29 -04:00
Régis Behmo
8219063683 💬 Minor documentation fixes 2018-05-28 00:39:19 -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
f37702fc8d 🐛 Fix critical nginx error
Nginx was simply not booting.
2018-05-27 20:24:32 -04:00
Régis Behmo
d6240b7349 Add MIT license 2018-05-27 19:26:43 -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
d5bdae0b62 Place convenient scripts in more appropriate place 2018-05-16 17:39:56 +02:00
Régis Behmo
98ce9a8dac Root user is USERID=0, not 1000 2018-05-03 07:06:03 +02:00
Régis Behmo
7189ea90bf USER_ID -> USERID for coherence 2018-04-30 09:01:40 +02:00
Régis Behmo
b6dd4130e6 Load config files as mounted volumes
This allows changing the openedx config without rebuilding the image.
2018-04-27 23:33:48 +02:00
Régis Behmo
fb71baf917 Remove useless VOLUME declaration in Dockerfile 2018-04-27 23:23:15 +02:00
Régis Behmo
e8d916920c Do not build nginx image
Instead, just import the base image and customise it with volumes.
2018-04-27 19:07:02 +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
b05e01d27e Don't try to chown symlink destinations
The symlinks from edx-platform that point to node_modules/ may have
non-existing targets in case of mounted edx-platform repo.

Closes #20.
2018-04-25 21:31:57 +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
dede31d1d3 Fix "missing XModule" error
XModule could not be found because the compiled package could not be
found in edx-platform/common/lib/xmodule. This was due to the fact that
build operations realised after a VOLUME statement are ignored if they
affect the content of this volume (although it's not mounted during
build, of course). This is not a bug, it's a feature of the VOLUME
statement :)
2018-04-20 09:36:38 +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
4252de9340 Allow nginx not to depend on lms/cms
By using variables in the nginx configuration to point to lms/cms, we
allow nginx not to require that lms and cms are up to run. This is
convenient for debugging production settings: just launch an nginx, then
runserver in an lms.
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
40ffe9f249 Much better troubleshooting
Thanks @gmsk19!
2018-04-18 07:33:16 +02:00
Régis Behmo
bda9e042f9 No longer refer to 'edxapp'
'edxapp' is an old reference to the vagrant image and it does not make
much sense.
2018-04-12 15:45:59 +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
75cac0305f Reorganize readme 2018-03-26 19:25:02 +02:00
Régis Behmo
dd6b147b29 Add instructions on killed migrations
Closes #15.
2018-03-26 19:22:07 +02:00
Régis Behmo
dcce76cabe Override default email sender addresses
This closes #13.
2018-03-16 17:12:26 +01:00
Régis Behmo
189ea3e7dc Fix incorrect Studio modulestore db
This was causing courses created in the cms not to show up in the LMS.
2018-03-04 20:15:44 +01:00
Régis Behmo
030ba43ba3 Fix access to smtp server
By default, smtp server listens to port 25, not 9025.

Closes #6.
2018-02-17 10:35:34 +01:00
Régis Behmo
b3a9215592 Typo 2018-02-13 08:16:48 +01: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
1fcae62d2f Update container restart policy
Make containers not restart automatically on boot when they were
manually stopped before. Make sure this is the case for all containers.
2018-02-08 07:40:18 +01:00
Régis Behmo
9546be53e9 Accelerate build step by making a shallow git clone 2018-02-07 19:37:54 +01:00
Régis Behmo
bba21ac592 Remove redundancy in dependency install
Full dependency install is replaced by just nodejs dependency install,
which should considerably accelerate the build step.

This closes #2.

Kudos to @sampaccoud for suggesting this!
2018-02-07 08:24:53 +01:00
Régis Behmo
7f27ab952b Fix email sending 2018-01-29 18:05:26 +01:00
Régis Behmo
3c850eb3d1 Fix lms uploads path in nginx 2018-01-29 17:21:47 +01:00