Scripts to speed up init and deployment tasks on servers
Written with ZX and bash
Warning : I'm working sporadically on this project for my personal and professional use. Scripts normally work, but while this project isn't mature, take a look at each script code to avoid any problem.
Clone the repository on the machine where you need it.
Scripts paths follow the pattern : setup/<program>/<options>/<feature>.mjs
.
- Install Certbot on debian (more)
- Install a git server (more)
- Install node on debian through nvm (more)
- Disable password login (more)
- Authorize a command for a user (more)
- Install zx (more)
There's a simple script to create a debian container locally w/ Docker or Podman and link the repo as a volume.
Run ./test/startTestContainer.sh
and execute your scripts in the container.
- Rollback scripts
Because I hate bash. Sorry sysadmins but I'm a dev with a taste for nice and modern syntax.