https://github.com/aamulumi/clizard
Scripts to speed up init and deployment tasks on servers - Written with ZX
https://github.com/aamulumi/clizard
Last synced: 26 days ago
JSON representation
Scripts to speed up init and deployment tasks on servers - Written with ZX
- Host: GitHub
- URL: https://github.com/aamulumi/clizard
- Owner: AamuLumi
- License: mit
- Created: 2024-04-02T13:03:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-22T08:58:46.000Z (about 2 months ago)
- Last Synced: 2025-03-22T09:28:51.273Z (about 2 months ago)
- Language: JavaScript
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clizard
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.## How to use
Clone the repository on the machine where you need it.
Scripts paths follow the pattern : `setup///.mjs`.## Features
### Certbot
- Install Certbot on debian ([more](/setup/certbot/for-debian.sh))
### Git
- Install a git server ([more](/setup/git/init-repo.mjs))
- With an auto-deployment script ([more](/setup/git/add-post-push/simple.mjs))
- With a blue-green deployment through
nginx ([more](/setup/git/add-post-push/with-blue-green-deployment/for-nginx.mjs))### Node
- Install node on debian through nvm ([more](/setup/node/for-debian.sh))
### SSH
- Disable password login ([more](/setup/ssh/disable-password-login.mjs))
### sudo
- Authorize a command for a user ([more](/setup/sudo/authorize_command_for_user.mjs))
### zx
- Install zx ([more](/setup/zx.sh))
## Development and testing
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.## Ideas for the future
- [ ] Rollback scripts
## Why ZX
Because I hate bash. Sorry sysadmins but I'm a dev with a taste for nice and modern syntax.