An open API service indexing awesome lists of open source software.

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.

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.