CI/CD
Tools
CI/CD tools
GitHub Actions
Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized workflow.
Deployment tools
Fly.io
For many languages and frameworks, you can deploy your app from zero, with the following three steps.
- Install
flyctl- you'll need it. - Create an account with
fly auth signupor login withfly auth login. - Run
fly launch- create, configure, and deploy a new application.
Railway
Made for any language, for projects big and small. Railway is the cloud that takes the complexity out of shipping software.
Heroku(paid)
How to
Heroku CLI commands
# create an app in heroku server, with url
heroku create
# deploy the app
git push heroku master
# login to new app
heroku login # being in the projects' root path
# open app on browser
heroku open
# print log
heroku logs --tail
# check whether database is installed
heroku addons
# connect and enter to psql cli
heroku pg:psql
# get database info, url
heroku pg:info
heroku config
Frontend
Deploying Production Build of React App to Heroku
Backend
Tutorials
Dockerization
Dockerizing a react app
React in Docker with Nginx, built with multi-stage Docker builds, including testing
HTTPS using Nginx and Let's encrypt in Docker
Веб-сервер на реальном примере. Docker-compose, nginx, mysql, php-fpm, wordpress
В видео настраивается связка Docker-compose, nginx, mysql, php-fpm, wordpress
HTTPS + NGINX + DOCKER. Установим бесплатный ssl сертификат от Let's Encrypt
В видео настраивается связка Docker-compose, nginx, mysql, php-fpm, wordpress, cerbot
Integration
Continuous deployment using Docker, GitHub Actions, and Web-hooks, Mar 1, 2020
Using Github Actions to Deploy a React App and Express API Over SSH in 15 seconds
Deployment
kb-tpl-docker-compose-pern-app-deploy
My tutorial mainly based on CI/CD design from "Deploying a Web App with Docker & GitHub Actions | Part 1 | Part 2 "
Utilized: Github Actions, Build and push Docker images , Watchtower