]> prime8.dev >> repos - p8d.git/commitdiff
Make some things more clear
authorDamian Myrda <monkey.damianek@gmail.com>
Sat, 7 Sep 2024 22:19:42 +0000 (17:19 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Sat, 7 Sep 2024 22:19:42 +0000 (17:19 -0500)
README.md
setup.sh

index a51f3431ced668150cc8ee72d450b638f3b2a7ab..072376075fd0ce55872f35078caf1bc8565d46ac 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2,6 +2,14 @@
 
 This is my website located at prime8.dev
 
-## running
+# download
+
+Run `sh <(curl -s https://raw.githubusercontent.com/moncheeta/p8d/master/download.sh)` to download the necessary files.
+
+# setup
+
+Run `setup.sh` to properly setup all the services.
+
+# run
 
 Run `docker compose up -d` to start up all the services in the background. You can stop them by running `docker compose down`.
index 3f81be6d3d04e7bf34102bf43bad428961b89fca..1300cbc91218519ad77457637dc0dcaedb0e5b68 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -1,11 +1,11 @@
 #!/bin/sh
 
 echo "setting up services"
-docker compose up -d
+docker compose up mail -d
 docker compose exec -it mail setup email add damian@prime8.dev
 docker compose restart mail
 docker compose exec -it mail setup alias add postmaster@prime8.dev damian@prime8.dev
 docker compose exec -it mail setup config dkim
 docker exec -it mail cat /tmp/docker-mailserver/opendkim/keys/prime8.dev/mail.txt
-docker compose restart mail
+docker compose down
 echo "services are set up"