Skip to content

Instantly share code, notes, and snippets.

@froemken
froemken / project-update.sh
Last active May 7, 2018 13:52
A little shell script to update our projects composer environment
#!/bin/bash
# Remote Server
# If you don't use a SSH-Key you have to use format: user[:password]@jweilandXYZ.net
# else domainname is enough
server="jweiland124.net"
path="~/typo3cms/SCRIPTS/"
#System variables
localSsh="/usr/bin/ssh"
#!/bin/bash
# Remote Server
# If you don't use a SSH-Key you have to use format: user[:password]@jweilandXYZ.net
# else domainname is enough
server="jweilandXYZ.net"
rPath="~/typo3cms/dev/"
# Path to project root, not FE root (web)
lPath="/Users/stefan/htdocs/kunden/project/"
# PID of first root page. Needed to create a sys_domain record. In most cases this will be 1
lRootPageUid="1"
<?php
// switch this variable to see the difference
$useTimeZone3 = true;
date_default_timezone_set('Europe/Berlin');
if ($useTimeZone3) {
$date = new \DateTime('2016-09-09 00:00:00');
} else {