- OS: Ubuntu 16.04
- SCM: Bitbucket
- Remote Git Repo: [email protected]:magepsycho/magepsycho.git
- Deployment Branch:
master
- Web Root Dir: /var/www/magento2/magepsycho
- Git Repo Dir: /var/www/magento2/magepsycho.git
In remote server
#!/bin/bash | |
# | |
# Script to backup Magento2 Codebase + Database | |
# | |
# @author Raj KB <[email protected]> | |
# @website http://www.magepsycho.com | |
# @version 0.1.0 | |
# UnComment it if bash is lower than 4.x version |
master
In remote server
vcl 4.0; | |
import std; | |
import directors; | |
backend server1 { | |
.host = "127.0.0.1"; # IP or Hostname of backend | |
.port = "8080"; # Port Apache or whatever is listening | |
.max_connections = 800; # That's it | |
.first_byte_timeout = 300s; # How long to wait before we receive a first byte from our backend? |
<?php | |
/** | |
* @author Raj KB <[email protected]> | |
* @website https://www.magepsycho.com | |
* | |
*/ | |
$mageFilename = 'app/Mage.php'; | |
require_once $mageFilename; | |
Mage::setIsDeveloperMode(true); | |
ini_set('display_errors', 1); |