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

54 Commits

Author SHA1 Message Date
Frank Anderson
2f9766a3a1 More simple nginx port mapping
Added the possibility to easily change the ports that nginx listens to.
This is useful, for instance when Apache or Nginx already runs on the
host. With this change, it is no longer necessary to edit the
docker-compose file to modify these ports.

To deploy with alternate ports, add a `.env` file with the following
contents:

```
OPENEDX_NGINX_PORT=8080
OPENEDX_NGINX_TLSPORT=8443
```
2018-11-17 09:04:56 +01:00
Régis Behmo
79274f48b6 Make it easier to install extra XBlocks
As per issues #35 and #84
2018-11-13 18:40:01 +01:00
Régis Behmo
e60e0071c4 Make feature flags interactive
Feature flags are now asked to the user interactively, as part of the
configuration step. This makes defining feature flags much more simple.
2018-09-30 14:37:49 +02:00
Régis Behmo
6307a1888e Better naming for shell commands 2018-09-29 18:24:35 +02:00
Régis Behmo
050dfc9b23 Better naming for db make targets 2018-09-29 18:24:35 +02:00
Régis Behmo
500d690074 Add a self-documenting Make help
Picked from https://github.com/openfun/fun-platform, which itself picked
it from https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html

Running `make help` or simply `make` now produces a beautiful colored
help.
2018-09-29 18:22:06 +02:00
Régis Behmo
7f5e91a0db ACTIVATE_* env vars are only necessary during configuration 2018-09-29 17:36:25 +02:00
Régis Behmo
f85b0abac4 Add portainer as an optional feature 2018-09-29 15:10:25 +02:00
Régis Behmo
e5ce0c9a4c Documentation fix: dev containers are for hawthorn
Close #71.
2018-09-28 19:05:43 +02:00
Régis Behmo
22872412c3 Collect some usage stats 2018-09-18 20:25:58 +02:00
Régis Behmo
ae44e2beb1 Docs: Clarify missing features 2018-09-15 20:22:02 +02:00
Régis Behmo
5ca9cec888 Add optional Student Notes service
With notes, students can annotate sections of the courseware.
2018-09-15 18:11:15 +02:00
Régis Behmo
06f6be737c Docs: notifier is enabled
We didn't change anything, it's just that the notifier is activated by
default in hawthorn.
2018-09-15 15:13:56 +02:00
Régis Behmo
e1d73660d2 Rename up & daemon make commands
The new commands are "run" and "daemonize". Older commands are
preserved, although they are undocumented.
2018-09-15 12:20:35 +02:00
Régis Behmo
f9a202083f Enable course search and discovery
Also, improved openedx logging, so that logs are not emitted twice.
2018-09-15 12:17:24 +02:00
Matt Bajor
6af7c5891a Fixes #62: Put variables at the end of the make command 2018-09-07 10:51:52 +02:00
Régis Behmo
8e46b4ca2b Make Xqueue an optional feature
Xqueue is no longer run by default. Instead, add the ACTIVATE_XQUEUE
environment variable to add it to the platform.
2018-08-19 14:49:14 +02:00
Régis Behmo
c883af35f7 Add HTTPS support
HTTPS is now fully supported. The ACTIVATE_HTTPS feature flag needs to
be set. Required domain names are LMS_HOST, preview.LMS_HOST and
CMS_HOST.

Close #46.
2018-08-19 14:49:14 +02:00
Régis Behmo
ea2dd7c4fb Generate configuration from Docker
We no longer run the `configure` script on the host. Instead, we run a
container that generates the configuration files. This opens the way for
more complex configuration templates that would be written in jinja2.
More complex templates are required for feature flags, such as SSL,
XQUEUE, etc.
2018-08-16 14:42:10 +02:00
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
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
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
abf95862fe Clarify migration instructions 2018-06-08 09:46:30 -04:00
Régis Behmo
065c53f9cb Fix travis build status 2018-06-01 10:35:48 -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
d6240b7349 Add MIT license 2018-05-27 19:26:43 -04:00
Régis Behmo
bfbc0c2b5b Switch docker hub username 2018-05-16 19:35:18 +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
40ffe9f249 Much better troubleshooting
Thanks @gmsk19!
2018-04-18 07:33:16 +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
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
b3a9215592 Typo 2018-02-13 08:16:48 +01:00
Régis Behmo
7f27ab952b Fix email sending 2018-01-29 18:05:26 +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
4295884a08 Remove https support 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
3170541f91 Config generation with ced
Environment variables are now used in configuration files with ced.
2017-09-19 14:24:57 +02: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