ilpcw/README.md

48 lines
966 B
Markdown

# Informatics Large Practical Coursework 3
This is a temporary repository, if you are viewing on GitHub, just ignore the (randomly generated) repository name.
[![Polyglot CI](https://github.com/js0ny/expert-goggles/actions/workflows/ci.yml/badge.svg)](https://github.com/js0ny/expert-goggles/actions/workflows/ci.yml)
## 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 .
```