En la terminal:
$npm install --global foundation-cli
En una nueva carpeta de proyecto:
$foundation new
| #!/bin/bash | |
| clear | |
| echo "Mybooking WordPress Components Updater " | |
| echo "============================================" | |
| echo "Este script actualiza tus copias locales de " | |
| echo "Mybooking WordPress Plugin y Mybooking WordPress Theme." | |
| echo | |
| echo -n "Ruta de la carpeta de destino (ej: ~/Proyectos): " | |
| echo read destinationfolder | |
| echo |
| #!/bin/bash | |
| clear | |
| echo "Mybooking WordPress Stack Installer v0.2 " | |
| echo "============================================" | |
| echo | |
| echo -n "Host de la BBDD (ej: localhost:3307): " | |
| read dbhost | |
| echo -n "Nombre de la BBDD: " | |
| read dbname | |
| echo -n "Usuario de la BBDD: " |
| /* | |
| IMPORTANT: | |
| This gist asume that your table's prefix is wp_ if not, prefix must be replaced for the correct one | |
| */ | |
| UPDATE wp_options SET option_value = replace(option_value, 'http://oldurl', 'http://newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET guid = replace(guid, 'http://oldurl','http://newurl'); | |
| UPDATE wp_posts SET post_content = replace(post_content, 'http://oldurl', 'http://newurl'); | |
| UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://oldurl','http://newurl'); |
| /** | |
| * This function will connect wp_mail to your authenticated | |
| * SMTP server. This improves reliability of wp_mail, and | |
| * avoids many potential problems. | |
| * | |
| * Author: Chad Butler | |
| * Author URI: http://butlerblog.com | |
| * | |
| * For more information and instructions, see: | |
| * http://b.utler.co/Y3 |
| /* UTILIDADES | |
| Clases intercambiables | |
| que ayudan a la maquetación | |
| ***********************************************************************/ | |
| /* FORMAS */ | |
| .circular { | |
| border-radius: 50%; |