6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-04 19:03:39 +00:00
Go to file
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
edxapp Config generation with ced 2017-09-19 14:24:57 +02:00
nginx Config generation with ced 2017-09-19 14:24:57 +02:00
.gitignore 🌅 2017-07-03 12:39:19 +02:00
docker-compose.yml Config generation with ced 2017-09-19 14:24:57 +02:00
Makefile Add import-demo-course make command 2017-09-19 10:54:45 +02:00
README.md Config generation with ced 2017-09-19 14:24:57 +02:00

[WIP] Docker-compose Open edX production stack

This is a work-in-progress.

The production stack is sufficient for a minimal production deployment of Open edX.

Lauch a production stack

Prepare build:

make directories

Build and run:

docker-compose build # go get a coffee
docker-compose up

The LMS will be reachable at http://openedxdemo.overhang.io.

The CMS will be reachable at http://studio.openedxdemo.overhang.io.

For local development, you should point to http://localhost:8800.

On the first run you will need to migrate the database and collect static assets:

make migrate
make assets

To import the Open edX demo course, run:

make import-demo-course

To daemonize:

docker-compose up -d

Development

Open a bash in the lms:

docker-compose run lms bash

Open a python shell in the lms or the cms:

make lms-shell
make cms-shell

TODO

  • Make sure that secret keys are not shared with the entire world
  • Don't duplicate args between containers
  • Add arguments to set domain name, platform name, etc.
  • Add documentation on host Nginx
  • Better readme