Written by Thanmai Bindi
on
on
Assignment - 1 : Laravel Portal
Problem Statement:
- To understand Laravel Portal working and to deploy using CI/CD methodologies. Setting up laravel on a remote Amazon instance using Docker.
Possible Solution:
- Installed Laravel on local machine first to understand more about the dependencies of the laravel portal. Some of the dependencies listed were: php, composer and dockerizing it. First we should deploy in docker make sure the dependencies are present before deploying and starting the framework or the actual code. This task can be done using
before-install.sh
script.
Solution Evaluation:
- Once we establish CI/CD platform using Docker with use of Travis and Shell script we should be able to control how the code can be deployed smoothly to different Amazon instances across different areas. There is no evaluation of this solution against other as this is the dependency install.
Conclusion:
- There should be a setup of the docker container on the amazon instances we are deploying to. Once the docker is up to date we can install php and composer. Once these operations are successfully completed we were able to start the docker service.
How to Run.
- Clone the project: https://github.com/airavata-courses/spring17-laravel-portal
- Make changes and commit. Once you are certain that the commit does not break the
before-install.sh
script you can push the code. This triggers the Travis to deploy the repository to a docker container and start the service on Amazon instance.
Commit URL.
These are some of the commits:
Apache Airavata developer’s mailing list.
None
Apache Airavata Jiras that you created or commented on.
None
Git pull requests that you made to Apache Airavata’s repo.
None