Prerequisites
Before you begin, ensure you have the following installed:Node.js
Rust (for desktop builds)
If you plan to build the desktop application, install Rust via rustup:Follow the Tauri prerequisites guide for platform-specific dependencies:
- Windows: Microsoft Visual Studio C++ Build Tools
- macOS: Xcode Command Line Tools
- Linux: System dependencies (webkit2gtk, etc.)
Clone the repository
Clone the Fylepad repository and navigate to the project directory:Install dependencies
Install all required Node.js packages:- Install all dependencies from
package.json - Run the
postinstallscript to prepare the Nuxt environment - Set up the Tauri CLI if building for desktop
Development servers
Web development
To run the web version with hot module replacement:http://localhost:3000. The server will automatically reload when you make changes to the code.
The development server is configured to be accessible on your network (
0.0.0.0) for testing on mobile devices.Desktop development
To run the desktop application in development mode:- Start the Nuxt development server
- Launch the Tauri development window
- Enable hot reloading for both frontend and backend changes
Project structure
After setup, your project structure will look like this:Environment configuration
Fylepad uses environment variables prefixed withVITE_ or TAURI_ (configured in nuxt.config.ts).
Create a .env file in the project root for any environment-specific settings:
Verifying your setup
To verify everything is working correctly:Troubleshooting
Port 3000 already in use
Port 3000 already in use
If port 3000 is occupied, you can specify a different port:
Tauri build fails on first run
Tauri build fails on first run
Ensure you have installed all platform-specific prerequisites. Check the Tauri prerequisites guide for your operating system.
pnpm install fails
pnpm install fails
Try clearing the pnpm cache and reinstalling:
Next steps
Architecture
Learn about the project structure
Building
Build Fylepad for production