Edux is a simple and intuitive Learning Management System (LMS) that makes it easy to manage and deliver online learning.
App can be easily built and run with Docker, but it requires some kind of environment configuration.
- Docker
- MySQL database with the proper tables created (see: edux.schema.sql)
- Create .env file providing MySQL database connection details, it should include:
PROD_MYSQLDB_HOST
PROD_MYSQLDB_PORT
PROD_MYSQLDB_DATABASE
PROD_MYSQLDB_USER
PROD_MYSQLDB_PASSWORD
APP_PORT
- Build Docker image:
docker build -t edux .
.
- Create Docker container:
docker create -p <APP_PORT>:<APP_PORT> --env-file .env --name edux edux
. - Start the container:
docker start -ai edux
.
Application should be running on configured port.