1.0.0 • Published 9 years ago
Speedco v1.0.0
Speedco Mobile App
Speedco hybrid mobile/web app.
Setup
In Terminal, install Node Version Manager globally.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bashIn Terminal, install Cordova CLI(Cordova CLI) globally.
npm install -g cordovaIn Terminal, ensure the project's intended version of Node is active (obeys the local .nvmrc file).
nvm useIn Terminal, install local Node dependencies.
npm installNote: When having trouble building, sometimes it helps to delete the contents of the node_modules folder and then run
npm installagain.
Building App
- In Terminal run
nvm use(only necessary once per terminal session) - In Terminal run
npm run build-iosornpm run build-android
Preview in Browser
For previewing in browser with live reloading.
- In Terminal run
npm run developornpm run develop-mockto use mock services - In another Terminal tab (don't close the other tab) run
npm run server-local
Preview in Emulator
- In Terminal (after building with
npm run build-iosornpm run build-android) runnpm run emulate-iosornpm run emulate-android
Preview in Device
- In Terminal (after building with
npm run build-iosornpm run build-android) runnpm run xcode - In Xcode
- Select project in navigation pane.
- Search for the term
bitcode. - Change value to
No. - Select hardware device in drop-down at top of window.
- Press play button to build and run.
or ... TODO: Continue Android documentation...
1.0.0
9 years ago