This project uses submodules, so instead of the usual cloning process, you need to use the --recurse-submodules flag:
git clone --recurse-submodules <repo-url>This ensures that both the main project repository and its submodules are downloaded.
Once the project has been cloned, install all dependencies for both the Vite server and the API using:
npm run install:allTo speed up development, a dev mode is available that runs the essential parts of the project—the frontend and the file management server.
Run the following command to start the app in development mode:
npm run dev:allThis will launch both the Vite server and the Nodemon server with the DEBUG environment variable injected into both.
Note: When running the server in development mode, the frontend’s file access API will not be available. To configure the server, update the settings in server/settings.json by specifying the file paths and allowed file types.
To run the application outside of debug mode, you need to follow the Tauri prerequisites guide to set up your environment for Windows, macOS, or Linux.
Once you have completed the setup, follow these steps:
-
Install all dependencies
npm run install:all
-
Build the server sidecar
npm run build:server
This generates an executable of the server inside the
server/distfolder. -
Move the server executable to the Tauri binaries folder
Since Tauri requires a specific naming convention for binaries, use the following command to handle renaming and placement:
npm run build:server:bin
-
Run the application
npm run tauri dev
Now, the full application should be up and running!