mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-11 21:39:00 +00:00
1.0 KiB
1.0 KiB
Developer Setup
Libredesk is a monorepo with a Go backend and a Vue.js frontend. The frontend uses Shadcn for UI components.
Pre-requisites
gonodejs(if you are working on the frontend) andpnpm- Postgres database (>= 13)
First time setup
Clone the repository:
git clone https://github.com/abhinavxd/libredesk.git
- Copy
config.toml.sampleasconfig.tomland add your config. - Run
maketo build the libredesk binary. Once the binary is built, run./libredesk --installto run the DB setup and set the System user password.
Running the Dev Environment
- Run
make run-backendto start the libredesk backend dev server on:9000. - Run
make run-frontendto start the Vue frontend in dev mode using pnpm on:8000. Requests are proxied to the backend running on:9000checkvite.config.jsfor the proxy config.
Production Build
Run make to build the Go binary, build the Javascript frontend, and embed the static assets producing a single self-contained binary, libredesk.