Régis Behmo
5974cb5f50
Better CI
2019-02-11 09:38:34 +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
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
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
3433a7c046
Improve make commands documentation
2019-01-07 08:10:30 +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
c393dda48e
Upgrade to tutor on running "make config.json"
2018-12-27 14:24:47 +01:00
Régis Behmo
83d839b20e
Fix double interactive conf
2018-12-27 02:29:28 +01:00
Régis Behmo
a81593f6a8
Rename "singleserver" with "local" deployment
2018-12-26 19:27:08 +01:00
Régis Behmo
f2c476f954
Improve documentation
2018-12-26 19:27:08 +01:00
Régis Behmo
0a3812cf4f
Simplify env/configure commands
...
"env" now only generates the environment, and depends only on
config.json, which is run only when necessary. There exists only one
"make configure" command, which force-runs config.json and builds the
env.
2018-12-26 19:27:08 +01:00
Régis Behmo
c903ab2b12
Migrate openedx-docker project to Tutor 👩🏫
...
The project gets a new name and some proper documentation. Build/Deploy
are now properly separated.
2018-12-26 19:27:08 +01:00
Régis Behmo
d454cfd72d
Add openedx-assets command
...
This is great for running a local webserver and watching theme changes
in just two commands.
2018-12-25 19:25:23 +01:00
Régis Behmo
22aa54d88f
Automatically build themes from openedx/themes
...
No need for the THEMES variable.
2018-12-25 19:25:23 +01:00
Régis Behmo
14b1047424
Upgrade demo course
2018-12-25 19:25:23 +01:00
Régis Behmo
3b215c9f88
Package static assets inside the openedx image
...
This allows us to deploy much faster: all we have to do is to copy the
assets from the container to the shared volume.
We also changed the way themes are managed: similarly to static assets,
they are now packaged inside the docker image.
2018-12-25 19:25:23 +01:00
Frank Anderson
beabe6c0cf
Update Makefile
...
Moved the Comments to the beginning of the so `make` doesn't attempt to run the comments as commands.
2018-12-18 18:35:53 +01:00
Régis Behmo
e94fee1767
Document how to run forked edx-platform
2018-11-26 12:07:58 +01:00
Régis Behmo
1d8fd232a5
Accelerate container bootstrapping
...
We don't need to run "chmod" on openedx files outside of development
mode. So, there is no need to set the USERID environment variable in
most cases. This should considerably accelerate pretty much all commands
that involve the openedx container.
For discussion consult PR #98 .
2018-11-23 13:48:02 +01:00
Silvio Tomatis
d9f7ff830a
Add missing line continuation in assets-development-[cl]ms
2018-11-23 12:00:51 +01:00
Régis Behmo
23ce23e76d
No need for dependent containers in assets tasks
2018-11-20 19:06:43 +01:00
Régis Behmo
274432436f
Fix assets generation in development
...
webpack requires the NODE_ENV environment variable which is incorrectly
set "paver update_assets" in development mode. To avoid this issue, we
split update_assets into its subparts.
2018-11-20 17:55:00 +01:00
Frank Anderson
b949a44a78
Add "restart-openedx" make command
...
Close #91
2018-11-17 08:42:59 +01:00
Régis Behmo
1dab77178d
Fix Android apk path
...
Close #70
2018-10-03 15:43:21 +02:00
Régis Behmo
b78d285779
Fix 'dorum' typo
2018-10-02 18:14:39 +02: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
96ab171f1c
Revert "By default, don't push android image to dockerhub"
...
This reverts commit 8392f4a2d3
.
Actually, no personal data is included in the Android image, so it's
perfectly fine to push it to docker hub.
2018-09-30 13:49:07 +02:00
Régis Behmo
8392f4a2d3
By default, don't push android image to dockerhub
2018-09-30 13:29:38 +02:00
Régis Behmo
1357311be7
Add logging commands
2018-09-29 18:29:10 +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
4f3117f81b
Better naming of android make targets
2018-09-29 18:24:33 +02:00
Régis Behmo
0d96033e1f
Provide better names for help sections
2018-09-29 18:23:11 +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
22872412c3
Collect some usage stats
2018-09-18 20:25:58 +02:00
Régis Behmo
30bc6df091
Improve wait for mysql db to be ready
2018-09-16 13:24:17 +02:00
Régis Behmo
75d86252bc
Push notes to docker hub on 'make push'
2018-09-15 20:31:49 +02:00
Régis Behmo
4964f12725
Rename provision and oauth2 make targets
2018-09-15 20:25:13 +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
04a0fb5902
Simplify configurator
...
Template files are now directly loaded in the configurator container, so
that it is possible to run the configurator container directly, outside
of this project.
2018-09-15 17:22:02 +02:00
Régis Behmo
b0f2adb931
Read default settings from environment variables
...
Moreover, ACTIVATE_* variables are now made permanent. It is no longer
necessary to re-declare them at each call of `make configure`.
2018-09-15 15:51:41 +02:00
Régis Behmo
509bb91ef3
Split make assets command in two
2018-09-15 15:13:37 +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
Régis Behmo
7e5dda28f0
Make sure configurator is pushed on 'make push'
...
Close #61 .
2018-09-06 07:35:26 +02:00
Régis Behmo
3587a187cd
Get PWD to work with "sudo"
...
The PWD environment variable is not available in the Makefile when a
"make" command is run with "sudo".
Close #50
Close #60
2018-09-04 12:13:18 +02:00
Régis Behmo
161de4629a
Print out git version in "make info"
2018-09-03 07:53:34 +02:00
Régis Behmo
21608386de
Fix "pull access denied for certbot_image"
...
Close #52
2018-08-28 15:53:26 +02:00