You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
public | 4 years ago | |
scripts | 4 years ago | |
src | 4 years ago | |
src-cordova | 4 years ago | |
.editorconfig | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
babel.config.js | 5 years ago | |
clisel.keystore | 4 years ago | |
package.json | 4 years ago | |
vue-add-cordova.txt | 4 years ago | |
vue.config.js | 4 years ago | |
yarn.lock | 4 years ago |
README.md
clisel-travelapp
cordova project for iOS and Android app generation of the CLISEL TravelApp.
Project setup
yarn install
for maintenance and further development, you'll need a global installed vue-cli 3.
Compiles and hot-reloads for development
yarn run serve
Compiles and minifies for production
yarn run build
Run your tests
yarn run test
Lints and fixes files
yarn run lint
Cordova specifics
vue-cli
cordova plugin is used: https://github.com/m0dch3n/vue-cli-plugin-cordova .
It does some magic, but at the link, the magic is more or less explained.
Android plattform
- Install a suitable Java SDK, seems you must use java 8! (Ubuntu: https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/).
- Install the Android SDK, either with Android Studio (easier, with
snap install android-studio --classic
, on Linux), or only the SDK. To make it work, you may need to modify your PATH: https://cordova.apache.org/docs/de/latest/guide/platforms/android/ and also set $ANDROID_HOME (usually toexport ANDROID_HOME=$HOME/Android/Sdk
) - You may need to install gradle (Ubuntu: sudo apt install gradle)
Also, you'll need to add the cordova platform, once:
cd src-cordova
cordova platform add android
Serve / Build
yarn run cordova-serve-android
yarn run cordova-build-android
iOS plattform
To be done.