https://github.com/bizz84/flutter_web_apps_template
Flutter Web + GitHub Pages templates
https://github.com/bizz84/flutter_web_apps_template
flutter flutter-web
Last synced: 6 months ago
JSON representation
Flutter Web + GitHub Pages templates
- Host: GitHub
- URL: https://github.com/bizz84/flutter_web_apps_template
- Owner: bizz84
- License: mit
- Created: 2024-03-06T14:28:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-08T13:16:50.000Z (over 1 year ago)
- Last Synced: 2025-04-10T09:11:12.832Z (6 months ago)
- Topics: flutter, flutter-web
- Language: Makefile
- Homepage: https://codewithandrea.com/articles/flutter-web-github-pages/
- Size: 3.91 KB
- Stars: 15
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Flutter Web + GitHub Pages template
A simple monorepo to manage the deployment of multiple Flutter web apps with GitHub Pages.
## Tutorial
Read the full tutorial on my site:
- [How to Publish your Flutter Web Apps on GitHub Pages for Free](https://codewithandrea.com/articles/flutter-web-github-pages/)
## How to use
Feel free to fork this repo and use it for your own apps.
All the commands can be run with `make` using the `Makefile` inside `apps`.
> Note: don't forget to change the `GITHUB_USER` in the [Makefile](apps/Makefile).
### Deploy a Flutter web project to GitHub
Preparation steps:
- Create a [new repository](https://github.com/new)
- Call it `` where `app_name` is one of the folders inside `apps`Build and push:
```zsh
make deploy NAME=
```Preview on GitHub Pages:
- Go to Settings -> Pages, choose the `main` branch, deploy from `/ (root)`, and save
### Generating the downloadable source code
```zsh
make zip NAME=
```### Prepare a project for development
```zsh
make dev NAME=
```### [LICENSE: MIT](LICENSE.md)