From 32f15bb3af4c7f2b46467658e162dccb5b7bd2d9 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 16 Aug 2020 04:02:16 -0500 Subject: [PATCH] Add some basic shit --- .htaccess | 6 ++++++ deploy.sh | 10 ++++++++++ index.php | 8 ++++++++ src/meta.php | 17 +++++++++++++++++ test.sh | 10 ++++++++++ 5 files changed, 51 insertions(+) create mode 100644 .htaccess create mode 100755 deploy.sh create mode 100644 index.php create mode 100644 src/meta.php create mode 100755 test.sh diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..0d6ab12 --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ +RedirectMatch 404 /\.git +RedirectMatch 404 /\.templates +RedirectMatch 404 /src +RedirectMatch 404 /README.md +RedirectMatch 404 /LICENSE +RedirectMatch 404 /*.sh diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..2d27d5b --- /dev/null +++ b/deploy.sh @@ -0,0 +1,10 @@ +#! /bin/sh +# +# post-deploy.sh +# Copyright (C) 2020 Vintage Salt +# +# Distributed under terms of the MIT license. +# + +ssh -t salt@www.9iron.club sudo git -C /var/www/www pull + diff --git a/index.php b/index.php new file mode 100644 index 0000000..97e575a --- /dev/null +++ b/index.php @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/meta.php b/src/meta.php new file mode 100644 index 0000000..7f4572a --- /dev/null +++ b/src/meta.php @@ -0,0 +1,17 @@ + + + + + + diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..2fdf625 --- /dev/null +++ b/test.sh @@ -0,0 +1,10 @@ +#! /bin/sh +# +# test.sh +# Copyright (C) 2020 Vintage Salt +# +# Distributed under terms of the MIT license. +# + +php -S localhost:8000 +