-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace content with short description and building and running instructions.
- Loading branch information
Showing
2 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,33 @@ | ||
# Edux | ||
|
||
> [!WARNING] | ||
> The database host is not running, if demo doesn't work. | ||
 | ||
|
||
[Live demo](https://edux-rht9.onrender.com). | ||
Edux is a simple and intuitive Learning Management System (LMS) that makes it easy to manage and deliver online | ||
learning. | ||
|
||
To login as an admin use these credentials: | ||
- username: [email protected] | ||
- password: adminstr0ngp@sw00rd | ||
## Building | ||
|
||
**Requirements** | ||
|
||
- [Docker](https://www.docker.com/products/docker-desktop) | ||
|
||
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` | ||
2. Build Docker image: `docker build -t edux .`. | ||
3. Create Docker container: `docker create -p 8081:8081 --env-file .env --name edux edux`. | ||
4. Run the container: `` | ||
|
||
## Running | ||
|
||
**Requirements** | ||
|
||
- [Docker](https://www.docker.com/products/docker-desktop) | ||
|
||
1. Create Docker container: `docker create -p 8081:8081 --env-file .env --name edux edux`. | ||
2. Start the container: `docker start -ai edux`. | ||
|
||
Application should be started on port `8081`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.