44 lines
689 B
Markdown
44 lines
689 B
Markdown
# Informatics Large Practical Coursework 3
|
|
|
|
## Installation
|
|
|
|
### Docker Compose
|
|
|
|
```bash
|
|
docker-compose up -d
|
|
```
|
|
|
|
Then access the application at `http://localhost:4173`.
|
|
|
|
If `Network Error` occurs, try
|
|
|
|
```bash
|
|
chromium --user-data-dir="/tmp/chromium" --disable-web-security
|
|
```
|
|
|
|
since CORS is not handled in this setup.
|
|
|
|
### Setup via Nix
|
|
|
|
Ensure you have [Nix](https://nixos.org/download.html) installed, then run:
|
|
|
|
```bash
|
|
nix develop
|
|
```
|
|
|
|
This will set up a development environment with all necessary dependencies.
|
|
|
|
Then start each component separately:
|
|
|
|
```bash
|
|
cd ilp-rest-service
|
|
./gradlew bootRun
|
|
|
|
cd drone-black-box/
|
|
go build
|
|
./drone-black-box
|
|
|
|
cd drone-frontend/
|
|
bun dev .
|
|
```
|
|
|