aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-09-22 22:50:35 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-09-22 22:50:35 +0200
commit7c8a9ce4fc71719f0913affc260ed5ced4578098 (patch)
tree56527260c44325ae00027750eeadbcd59060a137 /deploy.sh
parentd98b76c18cb7cac0941211290b41748d3cc25f97 (diff)
feat: Deploy working version
Diffstat (limited to 'deploy.sh')
-rw-r--r--deploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100644
index 0000000..fa24151
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+sudo mv kagamino_blog.conf /etc/apache2/sites-available/
+sudo ln -fs /etc/apache2/sites-available/kagamino_blog.conf /etc/apache2/sites-enabled/
+sudo rsync -avz --delete kagamino_blog/ /var/www/kagamino_blog/
+sudo chown -R www-data:www-data /var/www/kagamino_blog
+sudo service apache2 restart \ No newline at end of file