nasrulhazim
5/16/2017 - 12:42 AM

How to Upload Ionic Apps via Ionic CLI

How to Upload Ionic Apps via Ionic CLI

How to upload Ionic Apps?

Smartphone

Make sure to install Ionic View, Sign up & Login to the Application

Login from Terminal

In terminal, type ionic login with above credential. In my case, I already logged in, and I'm just do the login again.

$ ionic login
? You are already logged in! Do you want to log in to another account? Yes
? Email: your-emailm@domain.com
? Password: *********
[OK] You are logged in!

Link Application to apps.ionic.io

  1. In terminal, type ionic link.

  2. choose Create a new app - it will open a browser to https://apps.ionic.io/apps/.

$ ionic link
✔ Looking up your apps - done!
? Which app would you like to link Create a new app
[OK] Rerun ionic link to link to the new app.
  1. Login to https://apps.ionic.io, create a new application.

  2. Give the name of your application and save.

  3. Next, back to terminal, type again ionic link. The new app you just created will be listed. Choose that app.

$ ionic link
✔ Looking up your apps - done!
? Which app would you like to link QuotesApp (xxxxxxx)
[OK] Project linked with app xxxxxxx!
  1. Once done, you will get something like the following:
$ ionic upload
Running app-scripts build: 

[22:34:59]  build dev started ... 
[22:35:00]  clean started ... 
[22:35:00]  clean finished in 4 ms 
[22:35:00]  copy started ... 
[22:35:00]  transpile started ... 
[22:35:02]  transpile finished in 2.38 s 
[22:35:02]  preprocess started ... 
[22:35:02]  deeplinks started ... 
[22:35:02]  deeplinks finished in 62 ms 
[22:35:02]  preprocess finished in 64 ms 
[22:35:02]  webpack started ... 
[22:35:02]  copy finished in 2.66 s 
[22:35:09]  webpack finished in 7.06 s 
[22:35:09]  sass started ... 
[22:35:10]  sass finished in 1.04 s 
[22:35:10]  postprocess started ... 
[22:35:10]  postprocess finished in 5 ms 
[22:35:10]  lint started ... 
[22:35:10]  build dev finished in 10.64 s 
[22:35:12]  lint finished in 1.91 s 
✔ Requesting snapshot upload - done!
✔ Uploading snapshot - done!
[OK] Uploaded snapshot asdqwe23-asdd-asdq-qwer-314ea3c4516f!