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

586 Commits

Author SHA1 Message Date
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
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