Last active
August 29, 2022 14:31
-
-
Save piccaso/2ff65b87ef907f286b9d to your computer and use it in GitHub Desktop.
ment to be run from a bash shell: source <(curl -sSLk http://git.io/vLlAM)
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
# quick install: | |
# source <(curl -sSLk https://gist.githubusercontent.com/piccaso/2ff65b87ef907f286b9d/raw/typo3-6.2-quickinstall.sh) | |
curl -sSLk -o typo3_src.tgz 'https://get.typo3.org/6.2' | |
tar -zxf typo3_src.tgz | |
rm typo3_src.tgz | |
ln -s typo3_src-6.2.* typo3_src | |
ln -s typo3_src/index.php index.php | |
ln -s typo3_src/typo3 typo3 | |
ln -s typo3_src/_.htaccess .htaccess | |
touch FIRST_INSTALL | |
curl -sSLk -o .gitignore 'https://gist.githubusercontent.com/piccaso/2ff65b87ef907f286b9d/raw/typo3-6.2.gitignore' | |
curl -sSLk -o .gitattributes 'https://gist.githubusercontent.com/piccaso/2ff65b87ef907f286b9d/raw/typo3-6.2.gitattributes' | |
hash git && git init && git add .gitignore .gitattributes | |
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
# git normalization - based on the Drupal version | |
# @see https://github.com/drupal/drupal/blob/8.1.x/.gitattributes | |
# @see http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html | |
# @see http://drupal.org/node/1542048 | |
# Normally these settings would be done with macro attributes for improved | |
# readability and easier maintenance. However macros can only be defined at the | |
# repository root directory. Drupal avoids making any assumptions about where it | |
# is installed. | |
# Define text file attributes. | |
# - Treat them as text. | |
# - Ensure no CRLF line-endings, neither on checkout nor on checkin. | |
# - Detect whitespace errors. | |
# - Exposed by default in `git diff --color` on the CLI. | |
# - Validate with `git diff --check`. | |
# - Deny applying with `git apply --whitespace=error-all`. | |
# - Fix automatically with `git apply --whitespace=fix`. | |
# Auto-detect text files, ensure they use LF. | |
* text=auto eol=lf | |
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php | |
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html | |
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php | |
*.info text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php | |
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php | |
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php | |
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php | |
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.test text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php | |
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php | |
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | |
# Define binary file attributes. | |
# - Do not treat them as text. | |
# - Include binary diff in patches instead of "binary files differ." | |
*.pdf -text diff | |
*.ai -text diff | |
*.sxw -text diff | |
*.ttf -text diff | |
*.woff -text diff | |
*.eot -text diff | |
*.t3d -text diff | |
*.gif -text diff | |
*.gz -text diff | |
*.tgz -text diff | |
*.tar.gz -text diff | |
*.ico -text diff | |
*.jpg -text diff | |
*.jpeg -text diff | |
*.png -text diff | |
*.swf -text diff | |
*.phar -text diff |
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
# content | |
/fileadmin/user_upload/ | |
/fileadmin/_temp_/ | |
/fileadmin/_processed_/ | |
/uploads/ | |
/typo3temp/ | |
# cms | |
/typo3conf/temp_* | |
/typo3conf/AdditionalConfiguration.php | |
/typo3conf/deprecation_*.log | |
/typo3conf/ENABLE_INSTALL_TOOL | |
/FIRST_INSTALL | |
/typo3 | |
/typo3_src | |
/typo3_src-* | |
/.htaccess | |
/index.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment