This project can be used as an app template to target multiple platforms such as
- Web servers
- Desktop operating systems
- Linux
- MacOS
- Windows
- Mobile operating systems
- Android
- iOS
- Windows Mobile
This template uses frameworks and guidelines to allow for a quick development such as
as well as frameworks to enable multi-platform support
- cordova - cordova working dir (do not touch)
- doc - release notes
- e2e - end-to-end tests
- gradle - gradle wrapper (do not touch)
- src - app code
For some supported platforms there is a script that can be used to run the application locally.
- run the following command to start the web version of the application
npm run start
or
gradlew start
- call
http://localhost:4200
in a browser to start the app
- run the following command to start the desktop version of the application
npm run electron-start
or
gradlew electronStart
- the application will be started in a separate window automatically
- run the following command to start the Android version of the application
- note: for the Android version to run you need to have Android SDK installed
npm run cordova-android-start
or
gradlew cordovaAndroidStart
For each supported platform there is a script that can be used to bundle the application.
- run the following command to create a release bundle for web
npm run release-web
or
gradlew releaseWeb
- a release bundle for web named
%npm_package_name%-web-%npm_package_version%.zip
will be created in directoryrelease
- run the following command to create a release bundle for Linux (64-bit)
npm run release-linux
or
gradlew releaseLinux
- a release bundle for Linux named
%npm_package_name%-linux-x64-%npm_package_version%.zip
will be created in directoryrelease
- run the following command to create a release bundle for MacOS (64-bit)
- note: to build for MacOS NodeJS command prompt must be run as administrator
npm run release-macos
or
gradlew releaseMacos
- a release bundle for MacOS named
%npm_package_name%-macos-x64-%npm_package_version%.zip
will be created in directoryrelease
- run the following command to create a release bundle for Windows (64-bit)
npm run release-windows
or
gradlew releaseWindows
- a release bundle for Windows named
%npm_package_name%-win32-x64-%npm_package_version%.zip
will be created in directoryrelease
- run the following command to create a release bundle for Android
npm run release-android
or
gradlew releaseAndroid
- a release bundle for Android named
%npm_package_name%-android-%npm_package_version%.zip
will be created in directoryrelease