My personal website, as an expansion of resume.
express+ejs server-side rendering dynamic website.
This project is highly modularized s.t., ideally, you only need to change the contents under app/views
.
Most of the contents are stored in .yml
files and long paragraphs are stored in .ejs
files.
Just as reference, I deployed this website in 3 manners to achieve auto-deployment.
I provide a Makefile
to install the docker container.
➜ make help
Available rules:
clean rm -fr node_modules
down docker-compose down
install npm install
start docker-compose up
stop docker-compose stop
For a pure server, run the following command:
make start
which is equivalent to
docker-compose up -d --build
For sure, it's not auto-deployment, but it's a system independent solution to deploy websites on servers.
I use GitHub Actions to push any changes made in main
branch to Heroku. Check Deploy to Heroku and deploy_heroku.yml
AWS CodePipeline performs the auto-deployment very well. I used to deploy it on AWS EB but stopped it due to the cost.
The template could be downloaded at Unfold - Colorlab.
MIT License is included in the project.