diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..634f326 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +pkrm.dev \ No newline at end of file diff --git a/static/bg.png b/bg.png similarity index 100% rename from static/bg.png rename to bg.png diff --git a/static/contact.asc b/contact.asc similarity index 94% rename from static/contact.asc rename to contact.asc index 38311e5..11f0e9f 100644 --- a/static/contact.asc +++ b/contact.asc @@ -10,4 +10,4 @@ B8J4BBgWCgAgFiEEWLdri7q4eU0h4leclc0uDH4ynyoFAmSNOmECGwwACgkQlc0u DH4ynyqQhAEAuo1HGXEKkBUzji+cCW3wF/oqg0cQklQzfKUkifLhiC8A/2gdilxS AYHKY0lEJandkOjid/otDdiIZCUBt5mXjncL =ni8o ------END PGP PUBLIC KEY BLOCK----- \ No newline at end of file +-----END PGP PUBLIC KEY BLOCK----- diff --git a/templates/contact.html b/contact/index.html similarity index 96% rename from templates/contact.html rename to contact/index.html index c292ea0..1a629f2 100644 --- a/templates/contact.html +++ b/contact/index.html @@ -22,7 +22,7 @@ - +
Back Home @@ -48,7 +48,7 @@ body{ overflow-x: hidden; - background-image: url(/static/bg.png); + background-image: url(/bg.png); background-size: cover; color: #fff; } diff --git a/static/contact.js b/contact/script.js similarity index 100% rename from static/contact.js rename to contact/script.js diff --git a/templates/home.html b/index.html similarity index 98% rename from templates/home.html rename to index.html index de080af..ff4685d 100644 --- a/templates/home.html +++ b/index.html @@ -31,8 +31,8 @@ - - + + diff --git a/pkrm.service b/pkrm.service deleted file mode 100644 index 7a0de37..0000000 --- a/pkrm.service +++ /dev/null @@ -1,17 +0,0 @@ -# Make sure to move this to /etc/systemd/system -# For Debian systems you then run `sudo systemctl enable pkrm` and `sudo systemctl start pkrm` - -# Make sure to change the `WorkingDirectory` and `ExecStart` paths, as it is most likely not correct -# for your setup. -[Unit] -Description=Keep PKRM.DEV Up and Running -After=network.target - -[Service] -Type=simple -WorkingDirectory=/home/parker/pkrm -ExecStart=/usr/bin/bash /home/parker/pkrm/pkrm.sh -Restart=always - -[Install] -WantedBy=multi-user.target diff --git a/pkrm.sh b/pkrm.sh deleted file mode 100644 index 09cd6cf..0000000 --- a/pkrm.sh +++ /dev/null @@ -1 +0,0 @@ -gunicorn -b 0.0.0.0:6767 wsgi:app \ No newline at end of file diff --git a/static/home.js b/script.js similarity index 100% rename from static/home.js rename to script.js diff --git a/serve.py b/serve.py deleted file mode 100644 index 6b95766..0000000 --- a/serve.py +++ /dev/null @@ -1,25 +0,0 @@ -import flask - -app = flask.Flask(__name__) - -@app.route('/') -def home(): - return flask.render_template('home.html') - -@app.route('/contact') -def contact(): - return flask.render_template('contact.html') - -@app.route('/contact.asc') -def pgp_key(): - return flask.render_template('contact.asc.html') - -@app.route('/.well-known/matrix/server') -def server(): - data = { - "m.server": "matrix.pkrm.dev:443" - } - return data - -if __name__ == '__main__': - app.run() \ No newline at end of file diff --git a/static/style.css b/style.css similarity index 99% rename from static/style.css rename to style.css index 4248920..fb46199 100644 --- a/static/style.css +++ b/style.css @@ -6,7 +6,7 @@ body{ overflow-x: hidden; - background-image: url(/static/bg.png); + background-image: url(/bg.png); background-size: cover; color: #fff; will-change: transform; diff --git a/templates/contact.asc.html b/templates/contact.asc.html deleted file mode 100644 index 614e4ef..0000000 --- a/templates/contact.asc.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - -
- -----BEGIN PGP PUBLIC KEY BLOCK-----
-
- xjMEZI06YRYJKwYBBAHaRw8BAQdAxymP7jguJxjtKKqGQ/fSXGwZVzOiix6iRS1F
- 6BVMu+3NG1BhcmtlciBNIDxjb250YWN0QHBrcm0uZGV2PsKTBBMWCgA7FiEEWLdr
- i7q4eU0h4leclc0uDH4ynyoFAmSNOmECGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
- HgcCF4AACgkQlc0uDH4ynyrBIAEAu7y2oebvsBb+tJXPUOZkjqE+rsAwiDgHLj3U
- gYMM4XUBALPsZ4IgA5mWhTDTV00QLHmVtybCJzCdc7LzyvQH78cHzjgEZI06YRIK
- KwYBBAGXVQEFAQEHQLBpSX+qSOtSFVrp9+VfJGHsoPaIhoxIjz44byrtLXZ4AwEI
- B8J4BBgWCgAgFiEEWLdri7q4eU0h4leclc0uDH4ynyoFAmSNOmECGwwACgkQlc0u
- DH4ynyqQhAEAuo1HGXEKkBUzji+cCW3wF/oqg0cQklQzfKUkifLhiC8A/2gdilxS
- AYHKY0lEJandkOjid/otDdiIZCUBt5mXjncL
- =ni8o
-
- -----END PGP PUBLIC KEY BLOCK-----
-
- Or, download the .asc file here. -
-