Taobin-Recipe-Manager/client-electron
2024-01-11 17:49:43 +07:00
..
electron update and test something 2024-01-11 17:49:43 +07:00
public update and test something 2024-01-11 17:49:43 +07:00
src update and test something 2024-01-11 17:49:43 +07:00
.eslintrc.cjs new client electron 2024-01-11 15:40:18 +07:00
.gitignore new client electron 2024-01-11 15:40:18 +07:00
.prettierignore new client electron 2024-01-11 15:40:18 +07:00
.prettierrc new client electron 2024-01-11 15:40:18 +07:00
electron-builder.json5 update and test something 2024-01-11 17:49:43 +07:00
index.html update and test something 2024-01-11 17:49:43 +07:00
package-lock.json new client electron 2024-01-11 15:40:18 +07:00
package.json update and test something 2024-01-11 17:49:43 +07:00
postcss.config.js new client electron 2024-01-11 15:40:18 +07:00
README.md update readme.md & edit .gitignore 2024-01-11 15:52:25 +07:00
tailwind.config.js new client electron 2024-01-11 15:40:18 +07:00
tsconfig.json new client electron 2024-01-11 15:40:18 +07:00
tsconfig.node.json new client electron 2024-01-11 15:40:18 +07:00
vite.config.ts new client electron 2024-01-11 15:40:18 +07:00

Taobin Recipe Manager (Electron)

Development

Install dependencies

npm install

Run develop

npm run dev

Build

Before build, you have to change version in package.json to the new version.

npm run build

note: this will build executable and installer for your current platform

Environment Variables

We have some environment variables to control app behavior. The environment variables in this project have a prefix TAOBIN_RECIPE_MANAGER_. If you want to set environment variables, you have to add this prefix.

note: All the environment variables can access through import.meta.env.{VARIABLE_NAME}.

note: In development mode, you can create a .env.development.local file in the root directory of the project to set environment variables.

Environment Variables List

In this section, we will list all the environment variables. That app will use the default value if you don't set the environment variables.

dev: if you add new environment variables, please add it to this section.

TAOBIN_RECIPE_MANAGER_SERVER_URL

  • The url of the server. Default: http://localhost:8080