https://github.com/brynblack/ole
A fast, scalable online learning platform.
https://github.com/brynblack/ole
diesel-rs education linux multithreading ole postgresql rust scalability school-project sql trunk web
Last synced: 8 months ago
JSON representation
A fast, scalable online learning platform.
- Host: GitHub
- URL: https://github.com/brynblack/ole
- Owner: brynblack
- License: mit
- Created: 2023-02-05T23:23:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T05:55:37.000Z (over 2 years ago)
- Last Synced: 2024-12-27T16:32:48.177Z (10 months ago)
- Topics: diesel-rs, education, linux, multithreading, ole, postgresql, rust, scalability, school-project, sql, trunk, web
- Language: Rust
- Homepage:
- Size: 5.27 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# OLE
A fast, scalable online learning platform.  
## What is OLE?
OLE (Online Learning Environment) is a modern education platform written in Rust. It is designed with high-performance in mind and can be deployed easily to any device.### Warning!!!
Currently, the project is under heavy development and has many missing features, including potential security vulnerabilities. Please be wary of this and do not use it yet in a production environment.## Contents
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Install on Linux](#install-on-linux)
- [Develop](#develop)
- [License](#license)## Installation
To install and set up an OLE server, you can complete the follow the following steps.### Dependencies
- Podman or Docker and their compose variant
- Git### Install on Linux
If you have Docker:
```
git clone https://github.com/brynblack/ole; cd ole; sudo ./run.sh
```
If you have Podman:
```
git clone https://github.com/brynblack/ole; cd ole; sudo ./run-podman.sh
```
Now, you can navigate to http://localhost:8080 to access the website!## Develop
To set up a development environment and set up an OLE server, you can complete the follow the following steps.Within the `backend` module, you may run the following command to create the postgres database. You can replace `podman-compose` with `docker-compose` if you are using Docker instead of Podman.
```
podman-compose up -d
```
Then run the following command to start up the backend.
```
cargo run
```
Create another terminal and navigate to the `frontend` module. From there, you can run the following command to build and start the frontend server.
```
trunk serve --open
```## License
The source code for this project is licensed under the MIT license. You may find the conditions of the license [here](LICENSE.md).