Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.01 KB

Edux

Edux's homepage

Edux is a simple and intuitive Learning Management System (LMS) that makes it easy to manage and deliver online learning.

Build and Run

App can be easily built and run with Docker, but it requires some kind of environment configuration.

Requirements

Building

  1. 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
  2. Build Docker image: docker build -t edux ..

Running

  1. Create Docker container: docker create -p <APP_PORT>:<APP_PORT> --env-file .env --name edux edux.
  2. Start the container: docker start -ai edux.

Application should be running on configured port.