diff --git a/cinera/setup.sh b/cinera/setup.sh index 577330f..f8ae9d0 100755 --- a/cinera/setup.sh +++ b/cinera/setup.sh @@ -14,6 +14,10 @@ chgrp $ANNOTATIONS_USER_GROUP $CINERA_OUTPUT_PATH chgrp $ANNOTATIONS_USER_GROUP $CINERA_ASSETS_PATH chgrp $ANNOTATIONS_USER_GROUP $CINERA_SCRIPT_PATH chgrp $ANNOTATIONS_USER_GROUP $CINERA_SCRIPT_PATH/data +chmod 775 $CINERA_OUTPUT_PATH +chmod 775 $CINERA_ASSETS_PATH +chmod 775 $CINERA_SCRIPT_PATH +chmod 775 $CINERA_SCRIPT_PATH/data ./update_cinera.sh diff --git a/server/serversetup.sh b/server/serversetup.sh index fa7aa63..da69051 100755 --- a/server/serversetup.sh +++ b/server/serversetup.sh @@ -163,7 +163,6 @@ SCRIPT echo "https://git.handmade.network/Annotation-Pushers/cinera_handmade.network/-/settings/ci_cd#js-deploy-keys-settings" echo "" echo "Run this script again when you're done - it will continue where it left off." - exit 0 savecheckpoint 81 @@ -252,7 +251,6 @@ if [ $checkpoint -lt 100 ]; then cp /home/hmn/hmn/src/config/config.go.example /home/hmn/hmn/src/config/config.go cp /home/hmn/hmn/server/hmn.conf.example /home/hmn/hmn/server/hmn.conf - cp /home/hmn/hmn/server/deploy.conf.example /home/hmn/hmn/server/deploy.conf cp /home/hmn/hmn/adminmailer/config.go.example /home/hmn/hmn/adminmailer/config.go cp /home/hmn/hmn/cinera/cinera.conf.sample /home/hmn/hmn/cinera/cinera.conf chown hmn:hmn /home/hmn/hmn/src/config/config.go @@ -298,79 +296,82 @@ SCRIPT fi cat < + hmn migrate -Restore static files: +${BLUE_BOLD}Restore static files${RESET} make restore-static-files -Set up Cinera: +${BLUE_BOLD}Set up Cinera${RESET} cd /home/hmn/hmn/cinera ./setup.sh -Start up Caddy: +${BLUE_BOLD}Start up Caddy${RESET} systemctl start caddy -Then deploy the site: +${BLUE_BOLD}Deploy the site!${RESET} make deploy