refactor: reorganize project structure and update paths for backend and frontend
This commit is contained in:
1 parent
6c1ea2da47
commit
64d22d0aac
11 files changed
+120
-112
No files matched your search
+5
-4
@@ -16,7 +16,8 @@ Svelte dashboard and the Android synchronization API from one container.
|
||||
## Quick start with Docker
|
||||
|
||||
```bash
|
||||
docker build -t collabtable-server .
|
||||
cd ..
|
||||
docker build -f docker/Dockerfile -t collabtable-server .
|
||||
docker run -d --name collabtable-server --restart unless-stopped \
|
||||
-p 3000:3000 \
|
||||
-e DATABASE_URL=postgres://user:password@host:5432/collabtable \
|
||||
@@ -40,13 +41,13 @@ go run .
|
||||
To build the dashboard for the embedded production binary:
|
||||
|
||||
```bash
|
||||
cd webui
|
||||
cd ../frontend
|
||||
npm ci
|
||||
npm run check
|
||||
npm run build
|
||||
cd ..
|
||||
Copy-Item -Recurse -Force webui/build web
|
||||
go build -o collabtable-server .
|
||||
Copy-Item -Recurse -Force frontend/build backend/web
|
||||
go -C backend build -o collabtable-server .
|
||||
```
|
||||
|
||||
The Dockerfile performs those dashboard and Go build steps automatically.
|
||||
|
||||
Reference in new issue
Block a user