6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-08 22:31:03 +00:00
Commit Graph

299 Commits

Author SHA1 Message Date
Régis Behmo
4aad412b6a Fix missing templates in pypi install
Close #165.
2019-02-12 09:09:44 +01:00
Régis Behmo
e738a3b13f v3.0.2
- [Bugfix] Fix import paths -- 🚀 thanks @silviot!
- [Improvement] Properly set docker project name in mysql logs -- 🦊
thanks again @silviot!
2019-02-12 08:37:37 +01:00
Silvio Tomatis
d08bc10bb6 Align docker-compose logs invocation to the docker-compose up call 2019-02-12 08:29:07 +01:00
Régis Behmo
486e5c5794 Fix settings import paths 2019-02-12 08:26:50 +01:00
Régis Behmo
ed8606e63c v3.0.1
- [Bugfix] fix mysql initialization (#159, #160)
- [Improvement] Better handling of continuous integration
- [Bugfix] fix `tutor --version` (#156)
- [Improvement] Absolute settings imports -- 📯 thanks @tonytan4ever!
2019-02-11 09:39:19 +01:00
Régis Behmo
09fdc30784 Fix mysql connection errror on boot
Mysql triggers "Host 'xxx' is not allowed to connect to this MySQL
server" error because of race condition.

This was an issue that had been (painfully) solved in v2 and has reared
its ugly head again in v3.

Close #159
Close #160
2019-02-11 09:38:34 +01:00
Régis Behmo
5974cb5f50 Better CI 2019-02-11 09:38:34 +01:00
Régis Behmo
1781e6e3c3 Gif animation for quickstart
Animation created with Terminalizer: https://terminalizer.com/
Try it! It's awesome :)
2019-02-10 19:29:37 +01:00
Régis Behmo
d65a7a1b38 Fix version information in bundle
`./dist/tutor --version` raises an error:

Traceback (most recent call last):
  File "main", line 4, in <module>
  File "tutor/cli.py", line 21, in main
  File "click/core.py", line 764, in __call__
  File "click/core.py", line 716, in main
  File "click/core.py", line 641, in make_context
  File "click/core.py", line 1089, in parse_args
  File "click/core.py", line 940, in parse_args
  File "click/core.py", line 1477, in handle_parse_result
  File "click/core.py", line 96, in invoke_param_callback
  File "click/decorators.py", line 270, in callback
RuntimeError: Could not determine version
[1659] Failed to execute script main

To address this, we pass the version value directly to click.

This is for issue #156.
2019-02-10 19:29:37 +01:00
tonytan4ever
608e686198 Improve import in openedx config settings
Signed-off-by: tonytan4ever <tonytan198211@gmail.com>
2019-02-10 19:17:06 +01:00
Régis Behmo
4331bc5712 Tutor v3 complete rewrite
Replace all make commands by a single "tutor" binary. Environment and
data are all moved to ~/.tutor/local/share/tutor. We take the
opportunity to add a web UI and revamp the documentation.

This is a complete rewrite.

Close #121.
Close #147.
2019-02-09 20:30:01 +01:00
Régis Behmo
2c955ea9bb Set docker image maintainer 2019-02-06 15:15:06 +01:00
Régis Behmo
75ad80c576 cms service depends on elasticsearch
This should address part of issue #148
2019-02-04 17:01:48 +01:00
Régis Behmo
39e2c92374 Fix infinite wait on mysql init
After mysql has already been initialized, the data/mysql/mysql folder
exists and it is no longer necessary to re-initialize it. In fact, if
this folder exists, we mus tnot wait for the "MySQL init process done"
message, which never comes up.

See
c0454b9e0e/5.6/docker-entrypoint.sh

Close #136.
2019-01-27 14:46:22 +01:00
Régis Behmo
dc0f8a6c69 Tolerate long domain names
Long domain names cause nginx to crash with "could not build
server_names_hash, you should increase server_names_hash_bucket_size".

Close #115.
2019-01-27 14:32:49 +01:00
root
5a34a1191a Fix download of user-uploaded media
Nginx volumes for downloading user-uploaded files has been accidentally
removed at some point.

Close #139
2019-01-27 13:40:25 +01:00
Daniel
deeb475428 Fix video srt & transcript upload
Transcripts and video were being uploaded to /edx/var/edxapp/media.

This is for issue #138.
2019-01-27 13:34:34 +01:00
Régis Behmo
c42b747e35 Fix mysql initialization
There may be a race condition, where the mysql container is initialized
without creating the root user. To address this, we wait until the right
message from the mysql logs. In practice, we should do even better by
running the provision.sh scripts directly inside the mysql container.

This is for issues #132 and #133
2019-01-23 05:29:46 +01:00
Régis Behmo
731ff7fb15 Docs typo 2019-01-22 21:25:41 +01:00
Régis Behmo
6d70dedce0 Make it easy for users to override production settings
Close #131.
2019-01-20 09:24:44 +01:00
Régis Behmo
924b156b52 Silence android sdk download to fix travis build 2019-01-19 21:12:07 +01:00
Régis Behmo
fab03b1a7b Fix android image building
For some reason, the license was not accepted anymore. Fixed by
following the recommended solution in:
https://github.com/travis-ci/travis-ci/issues/8874
2019-01-19 19:27:21 +01:00
Régis Behmo
61e3064c12 Improve theme development docs
This addresses part of issue #121.
2019-01-19 15:17:55 +01:00
Régis Behmo
ab4bfcbff7 gpl -> agpl 2019-01-18 15:19:18 +01:00
Régis Behmo
49317ac3df Open edX requires 4 Gb of RAM
After testing on a 2Gb server, Open edX can be run, but it's unbearably
slow.
2019-01-17 16:48:34 +01:00
Régis Behmo
1fbb995ec1 Fix Makefile.env sourcing
Makefile.env was not properly sourced, causing https certificates not to
be generated.
2019-01-17 16:26:42 +01:00
Régis Behmo
c0073c441b Solve unavailable mysql on cold start
When booting for the first time, mysql has not properly initialized its
data. Here, we boot and stop mysql to make sure the root user has been
properly created.
2019-01-17 10:52:29 +01:00
Régis Behmo
537b42865f Add "make" to the tutor requirements 2019-01-17 10:42:15 +01:00
Régis Behmo
c9314e196d Switch license to AGPL 2019-01-16 17:24:42 +01:00
Régis Behmo
8c261fa92c Move "make info" command to root folder
This should help during the error reporting step.
2019-01-16 17:19:34 +01:00
Régis Behmo
76e7b3b59d Fix https certificate location
HTTPS were generated in an incorrect location.
2019-01-15 20:48:30 +01:00
Régis Behmo
f89ff69701 Copy assets as part of open edx restart 2019-01-15 09:48:19 +01:00
Régis Behmo
772e8257c3 It is no longer necessary to run "make assets" manually
Instead, assets are copied to nginx automatically on run.
2019-01-15 09:29:27 +01:00
Régis Behmo
f8a401cab9 Add rabbitmq to k8s
Close #124.
2019-01-15 09:02:00 +01:00
Régis Behmo
fee5b8aa72 Fix demo-course and staff-user commands for k8s
Because we use "exec" and not "run" like in the local install, we need
to explicitely define the django settings (which sucks). This should be
improved by using k8s Jobs.
2019-01-15 09:02:00 +01:00
Régis Behmo
422e6c100c Document upgrade to tutor
Close #109
Close #118
2019-01-07 08:22:29 +01:00
Régis Behmo
dcd868d30f Rename "import-demo-course" make command 2019-01-07 08:13:47 +01:00
Régis Behmo
f38f153c56 Rename "create-staff-user" command to "staff-user" 2019-01-07 08:12:37 +01:00
Régis Behmo
3433a7c046 Improve make commands documentation 2019-01-07 08:10:30 +01:00
Régis Behmo
752322e396 In k8s, migrate database as part of "make all" 2019-01-07 08:10:06 +01:00
Régis Behmo
e6acdcc493 Fix "notes-backend may not have port 8000" error 2019-01-07 07:40:30 +01:00
Régis Behmo
3b7c1c25c5 Working Kubernetes instakk
This deployment of Kubernetes does not support all features.

Close #116.
2019-01-06 23:09:08 +01:00
Régis Behmo
58e7c3976d Simplify forum container configuration
Forum environment variables no longer need to be defined in
docker-compose. Instead, the default values defined at build time are
used.
2019-01-06 23:09:08 +01:00
Régis Behmo
d0f02b7268 Re-add dependency of nginx to lms/cms
We re-introduce the dependency of the nginx container on the lms/cms
images. This dependency was removed to address a debugging scenario
which is actually not practical. Without this dependency, we are forced
to use an external docker-specific resolver which makes the local nginx
configuration incompatible with the kubernetes configuration.
2019-01-06 21:29:12 +01:00
Régis Behmo
7105183172 Move .env file as part of the upgrade-to-tutor command 2019-01-05 12:45:20 +01:00
Régis Behmo
d7ffd439ef Fix xqueue consumer command
This should address issue #109.
2019-01-04 10:22:37 +01:00
Régis Behmo
65fd2114f8 Fix docs demo course external link 2018-12-30 15:13:36 +01:00
Régis Behmo
fee0956a5e Better doc titles wording in local install 2018-12-30 15:12:59 +01:00
Régis Behmo
ef7c769808 Fix "missing webpack-stats.json" 500 error in CMS
The STATIC_ROOT for the CMS is not the same as the LMS.

To apply this fix, run:

    make update
    make assets
    make restart-openedx

Close #111.
2018-12-30 13:13:39 +01:00
Régis Behmo
e864e94bb5
Fix docs link (ssl not supported, yet) 2018-12-28 16:52:33 +01:00