Skip to content

Commit e561096

Browse files
feat: update README file
1 parent 9e711ca commit e561096

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,25 @@ Here are some upcoming features that are planned for `flutter_easy_flow`:
4848
2. **Local Data Persistence**: Save canvas data locally and support data restoration to continue work seamlessly.
4949
3. **Animated JSON Data Panel**: Introduce an animated panel on the left side to expand or collapse JSON data for better data management.
5050

51+
## 🌐 GitHub Pages Deployment
52+
53+
To deploy `flutter_easy_flow` to GitHub Pages, follow these steps:
54+
55+
1. Build the web version of the app with the correct base href:
56+
```bash
57+
flutter build web --base-href=/Flutter-EasyFlow/
58+
```
59+
2. Copy the contents of the `build/web/` directory to the `/docs` directory:
60+
```bash
61+
cp -r build/web/* docs/
62+
```
63+
3. Commit your changes and push them to the repository:
64+
```bash
65+
git add docs/
66+
git commit -m "Deploy to GitHub Pages"
67+
git push origin main
68+
```
69+
5170
## Stargazers over time
5271
[![Stargazers over time](https://starchart.cc/Jason-chen-coder/Flutter-EasyFlow.svg?)](https://starchart.cc/Jason-chen-coder/Flutter-EasyFlow)
5372

0 commit comments

Comments
 (0)