diff --git a/.cpanel.yml b/.cpanel.yml index c634f1a..f8e483a 100644 --- a/.cpanel.yml +++ b/.cpanel.yml @@ -5,4 +5,6 @@ deployment: - /bin/cp links.php ~/public_html - /bin/cp about.html ~/public_html - /bin/cp -R assets ~/public_html + - /bin/cp -R dev ~/public_html + - /bin/cp -R links ~/public_html diff --git a/DEVELOPMENT/dependency.sh b/DEVELOPMENT/dependency.sh new file mode 100644 index 0000000..75f44ef --- /dev/null +++ b/DEVELOPMENT/dependency.sh @@ -0,0 +1,22 @@ +#!/bin/bash + + +### INSTALL SASS Compiler ### +# https://sass-lang.com/install +# https://github.com/sass/dart-sass/releases +# https://sass-lang.com/documentation/cli/dart-sass + +# Arch based distros: +sudo pacman -S sass + +#TODO Debian based distros +# + +### UPGRADE TO PHP 8.2 ### +# There are several php 8.x features like `str_ends_with` and etc. Its recommended upgrade to latest version of php + +# check if php is already installed +whereis php + +# check php version with: +php --version diff --git a/dev/sass.sh b/DEVELOPMENT/sass.sh similarity index 100% rename from dev/sass.sh rename to DEVELOPMENT/sass.sh diff --git a/dev/vscode.md b/DEVELOPMENT/vscode.md similarity index 100% rename from dev/vscode.md rename to DEVELOPMENT/vscode.md diff --git a/dev/dependecy.sh b/dev/dependecy.sh deleted file mode 100644 index ae39597..0000000 --- a/dev/dependecy.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - - -### INSTALL SASS Compiler ### -# https://sass-lang.com/install -# https://github.com/sass/dart-sass/releases -# https://sass-lang.com/documentation/cli/dart-sass - -# Arch based distros: -sudo pacman -S sass \ No newline at end of file diff --git a/links.php b/dev/index.php similarity index 77% rename from links.php rename to dev/index.php index 6e86214..5f0cd5f 100644 --- a/links.php +++ b/dev/index.php @@ -5,12 +5,6 @@ - - - - - - - Aliberk Sandıkçı | Personel Website | aliberksandikci.com.tr + DEVELOPMENT PAGE -
- - - - -
- +

DEVELOPMENT PAGE

+
+ diff --git a/links/index.php b/links/index.php new file mode 100644 index 0000000..a5d7a79 --- /dev/null +++ b/links/index.php @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + isDot()) && str_ends_with($file, ".css")) { + echo '' . PHP_EOL . ' '; + } + } ?> + + Aliberk Sandıkçı | Personel Website | aliberksandikci.com.tr + + + + +
+ + + + +
+ +isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") { + echo '' . PHP_EOL . ' '; + } + } ?> + + + \ No newline at end of file