-
Switch into www-dir (above htdocs) of your project
-
Download this script:
git clone [email protected]:e78e9bafda5e1e1ff9e9.git
-
Rename folder:
This file contains hidden or 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
# GitHub Actions Workflow: Deploy `main` Branch to Webserver and Create a Release | |
# | |
# Author: Andreas Döbeling <https://Andreas.Doebeling.de> | |
# Copyright: DÖBELING Projektbüro <https://Doebeling.de> | |
# License: GNU General Public License (GPL) v3 | |
# Link: https://gist.github.com/ADoebeling/824c87533266675840b3a27f7e85d7cf | |
# | |
# | |
# Summary: | |
# This GitHub Actions workflow automates the deployment of the `main` branch to a web server via SFTP |
This file contains hidden or 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
# 1.) Generate Bash-Script in MySQL | |
SELECT concat("mv ", id, ".atch \"", original_name, "\"") FROM phpgw_fud_attach | |
# 2.) Export as plain-text | |
# 3.) Insert result into rename.sh and add chmod +x | |
# 4.) Run rename.sh :) |
This file contains hidden or 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-agent: * | |
Disallow: /check/ | |
Disallow: /contao/ | |
Disallow: /system/ | |
Disallow: /templates/ | |
Disallow: /vendor/ | |
Disallow: /share/index.php | |
Disallow: /build.xml | |
Disallow: /composer.json | |
Disallow: /composer.lock |
This file contains hidden or 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
# Zum Verbinden auf mac | |
# Terminal starten | |
ssh SSH-BENUTZERNAME@DOMAINNAME | |
# Repariert die SSH-Berechtigung in einem Quota, einmal täglich | |
chmod 700 ~/.ssh && chmod 600 ~/.ssh/* | |
# Gibt Übersicht über alle Änderungen seit letztem Checkin | |
git status |
This file contains hidden or 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/sh | |
# GIT Auto-Commit | |
# | |
# @author Andreas Doebeling <[email protected]> | |
# @copyright 1601.production siegler&thuemmler ohg | |
# @link http://www.1601.com | |
# @link http://xing.doebeling.de | |
# @version 0.2.230129_1ad |
This file contains hidden or 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
# How to backup a CMS | |
# | |
# @Author: Andreas Doebeling <[email protected]> | |
# @Copyright: 1601.communication gmbh | |
# @Link: http://www.1601.com | |
# Switch to customer-folder | |
cd /$PATH/ | |
# Check the current mySQL-Config |
This file contains hidden or 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
# .htaccess-defaults | |
# Some often used .htaccess-parameters | |
# | |
# @Author: Andreas Doebeling <[email protected]> | |
# @Copyright: 1601.communication gmbh | |
# @Link: http://www.1601.com | |
# @Link: http://xing.doebeling.de | |
# Always required at 1601-Hosting | |
RewriteEngine on |