Las consultas a la API REST se hacen a chile-2.herokuapp.com, notar que no siempre estara disponible el server en Heroku.
Antes de compilar nuestro proyecto para cualquier plataforma, es necesario declarar que usaremos dicha plataforma con el siguiente comando:
phonegap platform add <plataforma>
donde las disponibles son:
- browser
- android
- electron
- ios
- osx
- windows
phonegap build <plataforma>
Notar que para el caso de Android es necesario tener instalado Android Studio. Para evitar tener que instalarlo se puede usar Adobe Phonegap Build (es necesario iniciar sesión).
Para ejecutar en el browser se utiliza el siguiente comando:
phonegap serve --no-autoreload