View .env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deployer system | |
DEP_APPLICATION="starter-boilerplate" | |
DEP_REPOSITORY="https://github.com/jjpeleato/[name].git" | |
DEP_SLACK_HOOK="https://hooks.slack.com/services/[key]" | |
DEP_DEV_HOSTNAME="" | |
DEP_DEV_PORT=22 | |
DEP_DEV_USER="" | |
DEP_DEV_HTTP_USER="" | |
DEP_DEV_DEPLOY_PATH="" |
View .env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deployer system | |
DEP_APPLICATION="starter-boilerplate" | |
DEP_REPOSITORY="https://github.com/jjpeleato/[name].git" | |
DEP_SLACK_HOOK="https://hooks.slack.com/services/[key]" | |
DEP_DEV_HOSTNAME="" | |
DEP_DEV_PORT=22 | |
DEP_DEV_USER="" | |
DEP_DEV_HTTP_USER="" | |
DEP_DEV_DEPLOY_PATH="" |
View disable-strict-mode-wordpress.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Disable strict MySQL or MariaDB mode for WordPress. | |
# | |
# Look at: | |
# - Find "$incompatible_modes" variable on "./wp-includes/wp-db.php" | |
# | |
# Notes: | |
# - root user is assumed |
View script_backup.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Shell script to backup MySQL database. | |
# | |
# Notes: | |
# - MySQL or MariaDB is assumed | |
# - mysqldump is assumed | |
# - gzip is assumed | |
# - UNIX target environment is assumed |
View .bash_aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Change PHP version easily with aliases | |
# | |
# Install: | |
# - Exec the next command: $cd ~ && touch .bash_aliases && gedit .bash_aliases | |
# - Copy the gist content and save | |
# - Exec the next command: $. .bashrc | |
# | |
# Notes: | |
# - Linux environment is assumed |
View .lando.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: https://lando.dev/ | |
name: lamp | |
# See: https://docs.devwithlando.io/tutorials/lamp.html | |
recipe: lamp | |
config: | |
php: "7.2" | |
webroot: public | |
database: mariadb | |
xdebug: true |
View .lando.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: https://lando.dev/ | |
name: starterboilerplate | |
# See: https://docs.devwithlando.io/tutorials/wordpress.html | |
recipe: wordpress | |
config: | |
php: "7.3" | |
webroot: public | |
database: mariadb | |
xdebug: true |
View .lando.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: https://lando.dev/ | |
name: htmlboilerplate | |
# See: https://docs.devwithlando.io/config/proxy.html | |
proxy: | |
appserver_nginx: | |
- web.htmlboilerplate.lndo.site | |
appserver: | |
- php.htmlboilerplate.lndo.site | |
node: |
View deploy.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Shell script for remote deployment. | |
# | |
# Notes: | |
# - Git is assumed | |
# - Composer is assumed | |
# - NPM is assumed | |
# - Windows host and Cygwin environment is assumed |
View .gitconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = José J. Peleato Pradel | |
email = jjpeleato@example.com | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow bold | |
local = green bold | |
remote = cyan bold | |
[color "diff"] |
NewerOlder