# install dependencies
npm install
# go inside backend and also install dependencias
npm install
# run mongo server (in other terminal)
mongod
# run feathers backend (inside backend folder)
npm start
# Now go again to the project root and serve with hot reload at localhost:8080
npm run dev
# build for production with minification (also for mobile)
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
Requirements at system level:
- Android SDK (I recommend to download Android Studio)
- Set ANDROID_HOME environment path
- JDK (The version 9 doesn't worked for me. I have to use version 8)
- Gradle (I installed it using sdk)
- Cordova (npm install -g cordova)
Requirements at project level:
- There must exist the config.xml file.
- There must exist the www folder (can be empty).
# Add your mobile device as platform (ios | android)
cordova platform add android
cordova platform add ios
Every time you make some changes to the application and you want to create updated app you have to follow always these steps:
# Build minification files for mobile
npm run build
# Then just execute commando to build the APK
cordova build android
cordova build ios
## The generated APK will be located inside platforms/android/app/build/outputs/apk/debug/ in my case.
- Mobile building
- Feathers.js
- Prepare some native components through Onsenui