The frontend is the service in RobotShop to serve the web content over Nginx.
To Install Nginx.
# apt update
# apt install nginx -y
# systemctl enable nginx
# systemctl start nginx
Let's download the HTDOCS content and deploy under the Nginx path.
# curl -s -L -o /tmp/frontend.zip "https://github.com/zelar-soft-roboshop/frontend/archive/main.zip"
Deploy in Nginx Default Location.
# rm -rf /var/www/html /etc/nginx/sites-enabled/default /etc/nginx/sites-available/default
# cd /var/www
# unzip /tmp/frontend.zip
# mv frontend-main/* .
# mv static html
# rm -rf frontend-main README.md
# mv roboshop.conf /etc/nginx/sites-enabled//roboshop.conf
Finally restart the service once to effect the changes.
# systemctl restart nginx
Working App Screenshorts.