about summary refs log tree commit diff
path: root/deploy/setup-mastodon.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/setup-mastodon.sh')
-rwxr-xr-xdeploy/setup-mastodon.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy/setup-mastodon.sh b/deploy/setup-mastodon.sh
index e394184..165bbf4 100755
--- a/deploy/setup-mastodon.sh
+++ b/deploy/setup-mastodon.sh
@@ -1,5 +1,17 @@
 #!/bin/bash
 
+# copy files
+install docker-compose.yaml     /srv/plural.cafe/docker-compose.yaml
+install conf/nginx.conf         /etc/nginx/sites-available/pluralcafe
+install conf/common-ssl.conf    /etc/nginx/snippets/common-ssl.conf
+install conf/robots.txt         /srv/plural.cafe/html/robots.txt
+install scripts/backup.sh       /srv/plural.cafe/scripts/backup.sh
+
+install conf/.env.ambassador    /srv/plural.cafe/mastodon/.env.ambassador
+install conf/.env.production    /srv/plural.cafe/mastodon/.env.production
+# TODO some edits here
+
+# TODO rewrite the below
 [ -z "$YML_LOC" ] && YML_LOC="$(pwd)"
 cd $YML_LOC