Back

Somen Das

Senior developer | b... • 10m

hi folks, I just accidentally created a ci cd tool and named it cicd. ❤️ please comment your opinion on this project so it's very simple just one command and all set. automagically 🤯 so it has two way for automation the first way is you need to have a folder .cicd in the root of your project inside that folder you need two shell script files install.sh and run.sh ## install.sh will be used for setting up the environment to run code like installing nodejs, go, pm2 etc. ## run.sh will be used for running and restarting your services now in your main server you will run a command python3 main.py --setup manual --repo-url git_repo_link --admin-email your_email_for_logs --service-dir "/home/ubuntu/" --webhook 8000 --webhook-secret "webhook secret" now in your load balancer servers you will run a command without the webhook python3 main.py --setup manual --repo-url git_repo_link --admin-email your_email_for_logs --service-dir "/home/ubuntu/"

9 Replies
1
19
Replies (9)

More like this

Recommendations from Medial

Chamarti Sreekar

Passionate about Pos... • 14d

Build Your Own Open-Source Cursor Alternative (No Coding Experience Needed) You’re going to build a mini-Cursor from scratch. Not a replica of every detail, but enough to read code, understand context, answer questions, run scripts, and help you wr

See More
Reply
1
6

Download the medial app to read full posts, comements and news.