https://github.com/fadilxcoder/jquery-mobile
Mobile - Demo App / Fake Api Client - Vercel / Stream TV shows App - [https://github.com/fadilxcoder/fake-api-server.git]
https://github.com/fadilxcoder/jquery-mobile
android automated-deployment ci-cd-pipeline client github-actions mobile-app multi-apps
Last synced: 11 days ago
JSON representation
Mobile - Demo App / Fake Api Client - Vercel / Stream TV shows App - [https://github.com/fadilxcoder/fake-api-server.git]
- Host: GitHub
- URL: https://github.com/fadilxcoder/jquery-mobile
- Owner: fadilxcoder
- Created: 2019-04-13T15:31:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-14T16:37:05.000Z (over 3 years ago)
- Last Synced: 2025-01-04T19:23:44.096Z (over 1 year ago)
- Topics: android, automated-deployment, ci-cd-pipeline, client, github-actions, mobile-app, multi-apps
- Language: JavaScript
- Homepage:
- Size: 6.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NOTES
- **master** : Fake API branch
- **poc** : JQM PoC (deprecated) branch
- **stream** : Videos streaming branch
**Using Apache cordova / Linux**
- Install node pacage : `npm install -g cordova`
- Create project : `cordova create `
- Goto to and add codes
- - `cordova platform add browser` - Web GUI
- - `cordova platform add android` - Android
- - `cordova run browser` - Run app in web browser
- - `cordova serve browser` - Serves root app in web browser
- - `cordova build android` - Build android app
- - *If there are issues like "No Java files found that extend CordovaActivity."* : `cordova platforms rm android` OR `cordova platform rm android` and add new `cordova platform add android`
- Access web app on LAN / WLAN by disabling / enabling firewall : `sudo ufw disable` OR `sudo ufw enable`
## Related notes
- Fake API server
- - https://github.com/fadilxcoder/fake-api-server.git (Fake Api provider)
- - https://my-json-server.typicode.com/fadilxcoder/fake-api-server (Fake Api)
- - https://json-server-fake-api.glitch.me/ (Fake Api versionning)
## Vercel notes
- **Ignored Build Step** - *You can customize this behavior with a command that exits with code 1 (new Build needed) or code 0.*
- Add `bash script.sh`
- `$VERCEL_ENV` is set to `PRODUCTION: true` in Github Action `ci-deploy.yaml`
```bash
#!/bin/bash
echo "VERCEL_ENV: $VERCEL_ENV"
if [[ "$VERCEL_ENV" == "production" ]] ; then
# Proceed with the build
echo "✅ - Build can proceed"
exit 1;
else
# Don't build
echo "🛑 - Build cancelled"
exit 0;
fi
```