Setting up the web app
Initial Setup
- Upload the source code into your server (using
git cloneis the recommended path) - At the root directory, create a new
.envfile (you can use the provided.env.exampleas a starting point). There, you need to set the URL endpoint to your API instance.
VITE_MYFIN_BASE_API_URL=https://api.querty.xyz/; # PUT YOUR API INSTANCE BASE URL HERE
- Install the dependencies
npm install
- Build the app
npm run build
- Make the necessary web server changes to set a custom document root for the domain:
<PROJECT_ROOT>/dist
Updating
- Update the project files
git pull
- Install the dependencies
npm install
- Build the app
npm run build