🐋
Just a simple website, deployed using the most modern technics and using only cloud native solutions.
Table of Contents
A few days ago, I decided to update my resume, which is my personal webpage. It was already running on a Docker container, but, not fully automated, so I also grab the opportunity to put some intelligence and a DevOps approach on my resume.
Here's why:
- Use the concept of single source of truth, and centralize the data in a git repositorie, in this case, my personal Github account.
- Create a Docker Image with my personal website and publish it
- Deliver new updates allways over a pipeline, with all trigers managed by a Git repositorie.
- And also, have some fun and share the code !!!!
It`s all based on free software, so, you can use my code freelly. Be my guess !!!!
This is the full stack of solutions and pieces.
To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- Docker (install docker on your host or server)
-
Install Docker
-
Clone the repo
git clone https://github.com/glaucius/web.git
-
Configure your application and your Dockerfile, according to your needs
nano Dockerfile
-
Update the code of my cv according to your history
nano index.html
Dont forget to change the images on assets/images folder.
-
Build your own image
docker build -t my-image:v1 .
How to start your own image on a container
docker run -p 8080:80 my-image:v1 --name my-image-container-name
To run it like a daemon put -d before -p option.
docker run --d -p 8080:80 my-image:v1 --name my-image-container-name
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Glaucius Pereira - @glauciusjunior - glaucius@gmail.com
Project Link: https://github.com/glaucius/web