Local development with docker compose, based on #401, closes #401

This commit is contained in:
Milos Stojanovic
2024-04-18 12:22:19 +02:00
parent ebc82d9108
commit e195d19a46
4 changed files with 45 additions and 2 deletions

View File

@@ -110,6 +110,19 @@ Precompiled build is created for non-developers. In this version, the frontend (
[Download & install instructions](https://docs.filegator.io/install.html)
## Project setup for development (Docker)
```
git clone https://github.com/filegator/filegator.git
cd filegator
docker compose -f docker-compose-dev.yml up
```
Once everything is ready visit: `http://localhost:8080`, Ctrl+c to stop.
If you're tweaking dependencies then you must rebuild with:
```
docker compose -f docker-compose-dev.yml up --build
```
## Project setup for development (Linux)
@@ -126,7 +139,6 @@ npm install
npm run build
```
## Compiles and hot-reloads
The following command will launch backend and frontend on ports 8081 and 8080: