Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 642 Bytes

ReadMe.md

File metadata and controls

52 lines (37 loc) · 642 Bytes

MDLA

Quick start:

Start Server

cargo run --bin=mdla-server

Start front

trunk serve ./mdla-front/index.html --proxy-backend http://localhost:8000/api/

Open brower

http://localhost:8080/

Docker

Build

sudo docker build -t mdla .

Run

sudo docker run -ti -p 8000:8000 mdla

Setup dev env

Create a simlink from the dist folder of the webapp to the web-app folder of the server

mkdir resources
cd resources
ln -s ../mdla-front/dist/ web-app

Tips

Format your code

cargo fmt

Improve your code

cargo clippy --fix