The configuration variables are stored under app/app.ts
. On a new installation, replace the configuration variables first. Be sure not to commit them.
- Run
sudo npm install -g cordova && sudo npm install -g ionic
if you have not done so previously - Run
sudo npm install
to install all thenode_modules
dependencies (this may take some time) - Run
ionic platform add android
to add the Android platform
If you have the LiveReload Chrome extension or its equivalent for your browser, your page will refresh automatically when you make changes.
- Run
ionic serve
!
- Plug in your Android device and enable USB debugging
- In a new terminal window, build the platform by running
ionic build android
- Run the platform by running
ionic run android