diff --git a/docs/development/deployment/deploy-evershop-to-aws.md b/docs/development/deployment/deploy-evershop-to-aws.md index bf4971f..a5e3f32 100644 --- a/docs/development/deployment/deploy-evershop-to-aws.md +++ b/docs/development/deployment/deploy-evershop-to-aws.md @@ -195,7 +195,7 @@ npm run build cd .. -# Rename current build folder to previous build folder +# Remove previous build folder if it exists if [ -d "previous-build" ]; then rm -rf previous-build fi @@ -263,4 +263,4 @@ In this tutorial, we have learned how to install EverShop on an AWS EC2 instance [Let's Encrypt](https://letsencrypt.org/) is a free, automated, and open certificate authority. It provides free SSL certificates that you can use to secure your EverShop application. -To install Let's Encrypt, follow the instructions in this [tutorial](https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal). This tutorial will guide you through the process of installing Let's Encrypt and configuring Nginx to use the SSL certificates. \ No newline at end of file +To install Let's Encrypt, follow the instructions in this [tutorial](https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal). This tutorial will guide you through the process of installing Let's Encrypt and configuring Nginx to use the SSL certificates.