https://github.com/irontec/ionic-starter-wpion
Generator for WordPress based Mobile Applications running on top of Ionic.
https://github.com/irontec/ionic-starter-wpion
Last synced: 8 months ago
JSON representation
Generator for WordPress based Mobile Applications running on top of Ionic.
- Host: GitHub
- URL: https://github.com/irontec/ionic-starter-wpion
- Owner: irontec
- Created: 2015-05-20T07:37:05.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-20T13:44:22.000Z (about 11 years ago)
- Last Synced: 2025-01-31T04:53:51.995Z (over 1 year ago)
- Language: HTML
- Homepage: http://www.irontec.com
- Size: 2.59 MB
- Stars: 5
- Watchers: 26
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ionic-stater-wpion
Esto es un starter creado por [Ionic Framework](http://ionicframework.com/).
### Cómo usar este template con la herramienta de Ionic:
Instalamos la base de Ionic y Cordova y luego instalamos el template, siendo `myApp` un nombre cualquiera para nuestra aplicación.
```bash
$ npm install -g ionic cordova
$ ionic start myApp https://github.com/irontec/ionic-stater-wpion
```
### Configurar aplicación
Modificar el archivo `myApp/js/app.js` las primeras líneas:
```js
// IONIC TEMPLATE APP
// Modify this data
var wordpressUrl = 'http://blog.irontec.com'; // URL your wordpress
var nameApp = 'Irontec Blog'; // Main title of the application
var descriptionApp = 'Testing App'; // Subtitle of the application
var lang = 'es'; // Language of the aplication: es - eu - en
```
### Visualizarlo en nuestro servidor
Ejecutamos el siguiente comando:
```bash
$ ionic serve --lab
```
### Exportarlo a una aplicación
Luego, dentro de la carpeta `myApp`, ejecutar:
```bash
$ ionic platform add android
$ ionic build android
$ ionic emulate android
```
> Sustituye `android` por `ios` si estás en un Mac.