A container project to manage the application. This project has nginx
as reverse proxy.
- Create a folder in
/var
namedapp
and change the workind directory
mkdir -p /var/app
cd /var/app
- Clone the project with submodules in
/var/app
:
git clone --recurse-submodules https://github.com/CilgaIscan/devops-fundamentals-course-lab02.git .
- After pushing the changes to the related repository, you must run the following to update the project's source code (in your local environment):
git submodule update --remote
-
Then, commit the changes and push to GitHub.
-
Run the update_app.sh script
./scripts/update_app.sh