Skip to content

Instantly share code, notes, and snippets.

@AndreaBarghigiani
Last active February 26, 2018 10:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreaBarghigiani/7767532 to your computer and use it in GitHub Desktop.
Save AndreaBarghigiani/7767532 to your computer and use it in GitHub Desktop.
Questo è il Movefile che abbiamo preso in esame all'interno dell'articolo: "WordMove una gemma per il deploy WordPress" (https://skillsandmore.org/wordmove-deploy-wordpress/). All'interno di questo scoprirai come utilizzare la gemma WordMove per semplificare e velocizzare il tuo sviluppo WordPress!
# Configurazione Locale
local:
vhost: "http://url/locale"
wordpress_path: "/percorso/cartella/sviluppo/wordpress" # usa un percorso assoluto
database:
name: "nome_database" # Nome del Database
user: "utente" # Utente MySQL
password: "password" # Password MySQL
host: "localhost" # URL host MySQL
# Configurazione Online
staging:
vhost: "http://url/online" # puo' essere anche un dominio
wordpress_path: "/home/percorso/public_html" # usa un percorso assoluto
database:
name: "nome_database" # Nome del Database
user: "utente" # Utente MySQL
password: "password" # Password MySQL
host: "localhost" # URL host MySQL
# Configurazione SSH
ssh:
user: utente # Utente SSH
password: password # Password SSH
host: indirizzoIP # Indirizzo IP server SSH
# Cosa Escludere
exclude:
- ".git/" # Quali
- ".gitignore" # File
- ".sass-cache/" # Vuoi
- ".htaccess" # Escludere
- "bin/" # Dalla
- "tmp/*" # Sincronizzazione
- "Gemfile*" # ?
- "Movefile" # Aggiungi
- "wp-config.php" # Uno
- "wp-content/*.sql" # Per
- "trueIdeaMus.sublime-project" # Riga
# Puoi anche specificare cartelle diverse da quelle standard
# paths:
# wp_content: "wp-content"
# uploads: "wp-content/uploads"
# plugins: "wp-content/plugins"
# themes: "wp-content/themes"
# languages: "wp-content/languages"
# themes: "wp-content/themes"
# Decommentando questa sezione puoi configurare il tuo FTP
# ftp:
# user: "user" # Utente FTP
# password: "password" # Password FTP
# host: "host" # URL FTP
# passive: true # Connessione Passiva o Attiva
# In questa sezione puoi definire diversi ambienti di sviluppo
# production:
# [...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment