Speedco
v1.0.0
Published
Speedco mobile app
Downloads
3
Readme
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 | bash
In Terminal, install [Cordova CLI](Cordova CLI) globally.
npm install -g cordova
In Terminal, ensure the project's intended version of Node is active (obeys the local .nvmrc file).
nvm use
In Terminal, install local Node dependencies.
npm install
Note: When having trouble building, sometimes it helps to delete the contents of the node_modules folder and then run npm install
again.
Building App
- In Terminal run
nvm use
(only necessary once per terminal session) - In Terminal run
npm run build-ios
ornpm run build-android
Preview in Browser
For previewing in browser with live reloading.
- In Terminal run
npm run develop
ornpm run develop-mock
to 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-ios
ornpm run build-android
) runnpm run emulate-ios
ornpm run emulate-android
Preview in Device
- In Terminal (after building with
npm run build-ios
ornpm 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...