6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-14 01:04:09 +00:00
Commit Graph

270 Commits

Author SHA1 Message Date
Régis Behmo
b1d748b119 Add instructions to download the "latest" binaries 2019-02-18 09:45:09 +01:00
Régis Behmo
a988b28cfe Fix sphinx html_static_path warning 2019-02-18 09:42:24 +01:00
Régis Behmo
65f7b0f14d Push "latest" binaries to github releases 2019-02-18 09:22:41 +01:00
Régis Behmo
b643a87190 Improve documentation on running a local edx-platform
Close #173.
2019-02-17 14:01:43 +01:00
Régis Behmo
3e59b530f8 Add cloud-cleaning script 2019-02-17 13:49:31 +01:00
Régis Behmo
b266178784 Add draft logo
Logo is based on Exo font. This draft logo will be used until a better
logo is created.
2019-02-17 13:48:02 +01:00
Régis Behmo
71f9efbe96 Don't override user env var in cloud deployment script 2019-02-14 08:59:07 +01:00
Régis Behmo
e54a3cc8ca v3.0.5
- [Feature] Add cloud deployment script
- [Improvement] Run `images pull` command
- [Improvement] Run `indexcourses` on importing demo course
- [Improvement] Add `runserver stop` command
2019-02-14 08:39:11 +01:00
Régis Behmo
b208c90021 Don't hardcode cloud deployment user name 2019-02-14 08:38:02 +01:00
Régis Behmo
877a2239f7 Make tutor ready for the AWS cloud 2019-02-13 23:55:15 +01:00
Régis Behmo
5df069f42a Add cloud deployment script for AWS 2019-02-13 22:57:31 +01:00
Régis Behmo
b3288613c7 Add runserver stop command 2019-02-13 17:25:17 +01:00
Régis Behmo
da84299c8b v3.0.4
- [Minor] Minimum required `click` version is 7.0 (#171)
- [Bugfix] Fix `runserver` dev command (#172)
- [Minor] Fix non-https link to documentation in pypi
- [Minor] Fix `createuser` documentation
2019-02-13 17:15:18 +01:00
Régis Behmo
5b4beed1d1 Minimum required click version is 7.0
Close #171
2019-02-13 17:14:10 +01:00
Régis Behmo
22aff4dbf5 Fix runserver dev command
Close #172
2019-02-13 17:09:07 +01:00
Régis Behmo
2e2dfc73a6 Clarify dev docs on theming
Close #140
2019-02-13 08:54:10 +01:00
Régis Behmo
bdc93769f0 Fix http link to docs in pypi 2019-02-12 17:43:01 +01:00
Régis Behmo
3f105a0ef3 Fix local createuser documentation
Close #169.
2019-02-12 17:40:59 +01:00
Régis Behmo
484bb59ec6 v3.0.3
- [Bugfix] Add missing template data to pypi package
- [Bugfix] Fix quickstart on Kubernetes (#164)
- [Improvement] Add datatases task to Kubernetes quickstart (#167)
2019-02-12 09:21:31 +01:00
Régis Behmo
ab2098b7f5 Run databases task on k8s quickstart
Close #167
2019-02-12 09:17:18 +01:00
Régis Behmo
253b816a0a Fix k8s quickstart
Close #164
2019-02-12 09:11:38 +01:00
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