Skip to content

Commit

Permalink
Remove newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks committed Dec 6, 2024
1 parent c0f7af2 commit da4b2b7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@ install_packages() {
apt-get install -y curl nginx certbot python3-certbot-nginx
echo
echo "Packages have been installed."
echo
}

download_docker_compose() {
echo
echo "Downloading docker-compose.yml..."
echo
curl -sSL https://raw.githubusercontent.com/Loudbooks/PasteBook/refs/heads/master/docker-compose.yml -o docker-compose.yml
echo
echo "docker-compose.yml has been created."
echo
}

create_env_file() {
Expand All @@ -34,7 +30,6 @@ DESCRIPTION=${DESCRIPTION}
EOL
echo
echo ".env file has been created."
echo
}

download_and_configure_nginx() {
Expand All @@ -60,7 +55,6 @@ download_and_configure_nginx() {
sudo certbot --nginx -d ${DOMAIN} -d api.${DOMAIN}
echo
echo "SSL setup completed."
echo

systemctl restart nginx
}
Expand Down

0 comments on commit da4b2b7

Please sign in to comment.