https://github.com/tauri-apps/realworld
Realworld apps made with Tauri: Proof of Agnosis.
https://github.com/tauri-apps/realworld
Last synced: 8 months ago
JSON representation
Realworld apps made with Tauri: Proof of Agnosis.
- Host: GitHub
- URL: https://github.com/tauri-apps/realworld
- Owner: tauri-apps
- License: mit
- Archived: true
- Created: 2020-02-05T22:02:37.000Z (over 6 years ago)
- Default Branch: dev
- Last Pushed: 2022-06-26T06:42:38.000Z (almost 4 years ago)
- Last Synced: 2024-04-13T21:53:13.439Z (about 2 years ago)
- Language: JavaScript
- Homepage: https://tauri.studio
- Size: 66.4 KB
- Stars: 6
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tauri x Realworld apps
This project is an experiment to demonstrate how easy you can bundle an existing frontend app with Tauri, whichever the framework you're using, without having to change a single line from the codebase.
The main script (build.js) simply consists in a pipeline that will clone, install dependencies, build the application, initialize Tauri then bundle the application.
## Setup
1. Take a look at the Wiki to setup Tauri: https://github.com/tauri-apps/tauri/wiki
2. Have Git, Node and NPM installed
3. Clone and install this project dependencies, either with NPM or Yarn:
```bash
git clone git@github.com:tauri-apps/realworld.git
cd realworld
yarn install
# OR
npm install
```
## Usage
`node build {{app.repo}}`
This will apply the pipeline on a single application from apps.yaml. Copy/paste a `repo` property from the wanted application and let it build.
`node build`
This will apply the pipeline on _every_ application from apps.yaml. Unless you have some spare time, enough disk space, a nice CPU and unlimited bandwidth, you should avoid to do it (and ensure the pipeline at least works for a single project in a first time).
## Details about apps.yaml
Commented apps have not been successfully bundled (yet), either because of the build or the bundle phase failing.
A detail about what's wrong is displayed above the app title.