0.3.4 • Published 2 years ago

thc-deployment-tool v0.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

What is it about?

This deployment automation tool helps users to generate basic files that are required to deploy their app on cloud run, scan their code to check for bugs before deployment and tracing any error on the app in dev mode or prod mode. The script will generate files as follows:

  • Dockerfile for frontend (vue, nuxt) and backend(expressJS, gofiber)
  • Sonarcloud github actions and properties file (need to seek from Admin for keys)
  • Cloud Run github actions with .env

Download and Run

  1. Download the latest binary package depending on your machine (Mac, Linux, Windows)

Darwin

Linux

Windows

  1. Extract the binary

Mac

  • tar -xvzf thc-deployment-tool_0.3.4_linux_amd64.tar.gz -C <your_root_project_directory>

Linux

  • tar -xvzf thc-deployment-tool_0.3.4_linux_amd64.tar.gz -C <your_root_project_directory>

Windows

  • Right click the file and extract it the folder to your root directory of your working project.
  • or use tar -xvzf x.tar.gz -C <your_root_project_directory> if you have git bash installed on your windows cli
  1. Remove README.md from the .tar.gz to avoid any conflicts with your project README.md.

  2. Run ./cli.exe on your working project root directory, preferably run it on your cli, then start answering the prompt.

  3. The live url will be display on github actions tab located under deploy job.

  4. Hit ctrl+c or ctrl+d to if you want to abort the process.

NOTE (for maintainers): The procedure and deployment notes are here

How To Run (in development mode)

  1. Install dependencies
go mod tidy
  1. Run main file
go run cmd/cli/main.go
  1. Build main file
go build cmd/cli/main.go
0.3.4

2 years ago

0.3.3

2 years ago

1.0.0

2 years ago