update
This commit is contained in:
parent
76b5627ebc
commit
feb83bac9a
7 changed files with 78 additions and 31 deletions
|
@ -5,4 +5,6 @@ deployment:
|
||||||
- /bin/cp links.php ~/public_html
|
- /bin/cp links.php ~/public_html
|
||||||
- /bin/cp about.html ~/public_html
|
- /bin/cp about.html ~/public_html
|
||||||
- /bin/cp -R assets ~/public_html
|
- /bin/cp -R assets ~/public_html
|
||||||
|
- /bin/cp -R dev ~/public_html
|
||||||
|
- /bin/cp -R links ~/public_html
|
||||||
|
|
||||||
|
|
22
DEVELOPMENT/dependency.sh
Normal file
22
DEVELOPMENT/dependency.sh
Normal file
|
@ -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
|
|
@ -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
|
|
|
@ -5,12 +5,6 @@
|
||||||
<!--!Copyright © 2023 Aliberk Sandıkçı-->
|
<!--!Copyright © 2023 Aliberk Sandıkçı-->
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
|
||||||
<!-- Meta Content -->
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="My Social Media Links">
|
|
||||||
<meta name="keywords" content="personal,website,links,social,media,contact,communication">
|
|
||||||
<meta name="author" content="Aliberk Sandıkçı">
|
|
||||||
|
|
||||||
<!-- CSS Files -->
|
<!-- CSS Files -->
|
||||||
<?php
|
<?php
|
||||||
$dir = new DirectoryIterator("assets/css");
|
$dir = new DirectoryIterator("assets/css");
|
||||||
|
@ -20,23 +14,13 @@
|
||||||
}
|
}
|
||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
<title>Aliberk Sandıkçı | Personel Website | aliberksandikci.com.tr</title>
|
<title>DEVELOPMENT PAGE</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="outline">
|
<h1>DEVELOPMENT PAGE</h1>
|
||||||
<ul class="inline">
|
<hr>
|
||||||
<li><a href="https://asandikci.com/about">About me (not ready)</a></li>
|
|
||||||
<li><a href="https://mastodon.social/@asandikci">Mastodon (Fediverse)</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="inline">
|
|
||||||
<li><a href="https://www.instagram.com/aliberksandikci/">Instagram</a></li>
|
|
||||||
<li>Discord: kinetokor#7641</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo 'DOCUMENTS_ROOT:' . $_SERVER['DOCUMENT_ROOT'] . PHP_EOL;
|
echo 'DOCUMENTS_ROOT:' . $_SERVER['DOCUMENT_ROOT'] . PHP_EOL;
|
||||||
|
@ -70,7 +54,6 @@
|
||||||
echo 'AUTH_TYPE:' . $_SERVER['AUTH_TYPE'] . PHP_EOL;
|
echo 'AUTH_TYPE:' . $_SERVER['AUTH_TYPE'] . PHP_EOL;
|
||||||
echo 'PATH_INFO:' . $_SERVER['PATH_INFO'] . PHP_EOL;
|
echo 'PATH_INFO:' . $_SERVER['PATH_INFO'] . PHP_EOL;
|
||||||
echo 'ORIG_PATH_INFO:' . $_SERVER['ORIG_PATH_INFO'] . PHP_EOL;
|
echo 'ORIG_PATH_INFO:' . $_SERVER['ORIG_PATH_INFO'] . PHP_EOL;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
50
links/index.php
Normal file
50
links/index.php
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<!--!Copyright © 2023 Aliberk Sandıkçı-->
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
|
||||||
|
<!-- Meta Content -->
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="description" content="My Social Media Links">
|
||||||
|
<meta name="keywords" content="personal,website,links,social,media,contact,communication">
|
||||||
|
<meta name="author" content="Aliberk Sandıkçı">
|
||||||
|
|
||||||
|
<!-- CSS Files -->
|
||||||
|
<?php
|
||||||
|
$dir = new DirectoryIterator("assets/css");
|
||||||
|
foreach ($dir as $file) {
|
||||||
|
if ((!$file->isDot()) && str_ends_with($file, ".css")) {
|
||||||
|
echo '<link rel="stylesheet" href="/assets/css/' . $file . '">' . PHP_EOL . ' ';
|
||||||
|
}
|
||||||
|
} ?>
|
||||||
|
|
||||||
|
<title>Aliberk Sandıkçı | Personel Website | aliberksandikci.com.tr</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="outline">
|
||||||
|
<ul class="inline">
|
||||||
|
<li><a href="https://asandikci.com/about">About me (not ready)</a></li>
|
||||||
|
<li><a href="https://mastodon.social/@asandikci">Mastodon (Fediverse)</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="inline">
|
||||||
|
<li><a href="https://www.instagram.com/aliberksandikci/">Instagram</a></li>
|
||||||
|
<li>Discord: kinetokor#7641</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$dir = new DirectoryIterator("assets/js");
|
||||||
|
foreach ($dir as $file) {
|
||||||
|
if ((!$file->isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") {
|
||||||
|
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
|
||||||
|
}
|
||||||
|
} ?>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
Loading…
Reference in a new issue