-
Install Node.JS on your machine if you haven't already.
-
Run the following line of code in a command line if you haven't already:
$ npm i -g ionic cordova -
Go to the directory where your package.json file is located and run:
$ npm i -
Finally deploy locally:
$ ionic serve -c
-
Create an account in https://ionicframework.com/
-
Search up "Ionic DevApp" on your Android/iOS App Store and download a copy.
-
Login in the Ionic DevApp with the account you have just made.
-
Make sure your phone and the machine that is running the CLI is on the same WiFi network.
-
Run the CLI on your deployment machine:
$ ionic serve -c
Open up the DevApp and you should see a notification of the App being deployed.
- You can open the deployed app on your phone.