Commit Graph

1886 Commits

Author SHA1 Message Date
Régis Behmo 723836cc03 Fix unavailable demo course about pages
Demo course about pages were not available (and probably many other
pages as well) because the preview url was the same as the real url.

Kudos to @dannielarriola for solving this!

Close issues #11 #7.
2018-04-20 09:36:38 +02:00
Régis Behmo 4252de9340 Allow nginx not to depend on lms/cms
By using variables in the nginx configuration to point to lms/cms, we
allow nginx not to require that lms and cms are up to run. This is
convenient for debugging production settings: just launch an nginx, then
runserver in an lms.
2018-04-20 09:36:38 +02:00
Régis Behmo 9ddc11a47b Collect assets for production
If we don't do this, assets are collected with the devstack settings by
default, which will fail.
2018-04-19 21:14:58 +02:00
Régis Behmo 40ffe9f249 Much better troubleshooting
Thanks @gmsk19!
2018-04-18 07:33:16 +02:00
Régis Behmo bda9e042f9 No longer refer to 'edxapp'
'edxapp' is an old reference to the vagrant image and it does not make
much sense.
2018-04-12 15:45:59 +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 1f0509be2b Add note to Makefile 2018-03-26 19:26:04 +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 dcce76cabe Override default email sender addresses
This closes #13.
2018-03-16 17:12:26 +01:00
Régis Behmo 189ea3e7dc Fix incorrect Studio modulestore db
This was causing courses created in the cms not to show up in the LMS.
2018-03-04 20:15:44 +01:00
Régis Behmo 030ba43ba3 Fix access to smtp server
By default, smtp server listens to port 25, not 9025.

Closes #6.
2018-02-17 10:35:34 +01:00
Régis Behmo b3a9215592 Typo 2018-02-13 08:16:48 +01:00
Régis Behmo 6361b9ad58 Fix SQL race condition
When running "wait-for-mysql.sh", the "echo 'show tables' | manage.py
dbshell" command is always considered a success, even if the database is
unreachable ($? == 0). So we replace this command by a global system
check.

This closes #3.
2018-02-10 18:38:17 +01:00
Régis Behmo 1fcae62d2f Update container restart policy
Make containers not restart automatically on boot when they were
manually stopped before. Make sure this is the case for all containers.
2018-02-08 07:40:18 +01:00
Régis Behmo 9546be53e9 Accelerate build step by making a shallow git clone 2018-02-07 19:37:54 +01:00
Régis Behmo bba21ac592 Remove redundancy in dependency install
Full dependency install is replaced by just nodejs dependency install,
which should considerably accelerate the build step.

This closes #2.

Kudos to @sampaccoud for suggesting this!
2018-02-07 08:24:53 +01:00
Régis Behmo 7f27ab952b Fix email sending 2018-01-29 18:05:26 +01:00
Régis Behmo 3c850eb3d1 Fix lms uploads path in nginx 2018-01-29 17:21:47 +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 80b957bf5b Install ced from pip 2017-09-19 14:47:52 +02: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 9004335eb9 Don't restart services by default 2017-09-19 12:58:55 +02:00
Régis Behmo 61abe7691b Add import-demo-course make command 2017-09-19 10:54:45 +02:00
Régis Behmo 52c8301f96 Fix LMS url 2017-09-19 10:54:00 +02:00
Régis Behmo dad35370f8 Fix unsafe ALLOWED_HOSTS 2017-09-19 10:53:38 +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
Régis Behmo 34b185b0eb Remove useless directory creation step in README 2017-07-24 11:34:27 +02:00
Régis Behmo 12e08d7c5d Simplify migrations and static collection
Migrations and static assets collection are no longer performed every
time we build an image. Instead, they are run on command.
2017-07-23 19:27:25 +02:00
Régis Behmo 199626c434 Simplify modulestore configuration 2017-07-19 09:25:33 +02:00
Régis Behmo b6aacd4812 Change LMS url to http://openedx.localhost 2017-07-19 09:25:00 +02:00
Régis Behmo 38562024bc Move lms config files to dedicated folder 2017-07-19 09:23:14 +02:00
Régis Behmo 4eda3c8807 Remove duplicate fields from lms.env.json 2017-07-05 08:42:26 +02:00
Régis Behmo bdd1a41f62 🌅 2017-07-03 12:39:19 +02:00