To run the application, you must first install the dependencies:
$ npm install # or pnpm install or yarn install
Second, you must create an environment variable (.env) file that contains your Supabase credentials. The file configuration should be as follows:
VITE_SUPABASE_URL=xxxx
VITE_SUPABASE_ANON_KEY=xxxx
In development mode, you must type the command in the project root:
$ npm run dev # or pnpm run dev or yarn run dev
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
To build the application and eventually deploy it, you must type the command in the project root:
$ npm run build # or pnpm run build or yarn run build
Builds the app for production to the dist
folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
You can deploy the dist
folder to any static host provider (netlify, surge, now, etc.)
Screenshot:
To run the application, you must first install the dependencies:
$ npm install # or pnpm install or yarn install
In development mode, you must type the command in the project root:
$ npm run tauri dev # or pnpm tauri dev or yarn tauri dev
To build the application and eventually deploy it, you must type the command in the project root:
$ npm run build # or pnpm tauri build or yarn tauri build
The executables will be generated in the path "./src-tauri/target/release/bundle/" of the project.