Sync your text with mutiple platform.
github page release:
- Step 1:
Modify source code.
- Step 2:
Run
flutter run -d edge
for test.
- Step 3:
Run
flutter build web
.
Or
flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=https://simplisync.oss-cn-beijing.aliyuncs.com/cdn/ --release
for performance. since sources(canvaskit.wasm & canvaskit.js) loaded from oversea by default.
Or
flutter build web --web-renderer html
by using native html node rather canvaskit.wasm
- Step 4:
Copy all files from
build/web/
todocs/
, where gitpage used.
- Step 5:
Create a file named "CNAME" in docs/, contented "simplisync.icu". which used for custom domain for gitpage
- Step 6:
Commit and push.
note: for resources 404 issue, there is 2 way should be modifed:
- /SimpliSync/web/index.html:
<base href="./">
- /SimpliSync/web/manifest.json
"start_url": "./"
E-mail: [email protected]