How do i publish my Tauri app to github? #8262
-
hello, How do i publish my Tauri app to github? go with the generic answer? is the default .gitignore file sufficient? i noticed the src0tauri/target/deps is 10 GB in size. what instructions should i give about how users should install the app from github source?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Generally yes. If you added packages that may add temp files not covered by it then of course you have to change it. There's also a second .gitignore in src-tauri which takes care of the target/ dir :)
Have them follow https://tauri.app/v1/guides/getting-started/prerequisites first, and add instructions for whatever your frontend needs (or any additional js/rust packages that may need something), like node and npm/yarn/pnpm. git clone url-to-your-repo
cd your-repo
npm install --- or whatever install command your frontend needs
npm run tauri dev |
Beta Was this translation helpful? Give feedback.
Generally yes. If you added packages that may add temp files not covered by it then of course you have to change it. There's also a second .gitignore in src-tauri which takes care of the target/ dir :)
Have them follow https://tauri.app/v1/guides/getting-started/prerequisites first, and add instructions for whatever your frontend needs (or any additional js/rust packages that may need something), like node and npm/yarn/pnpm.
Then they typically do something like this