Skip to content

Scripts to speed up init and deployment tasks on servers - Written with ZX

License

Notifications You must be signed in to change notification settings

AamuLumi/clizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/<program>/<options>/<feature>.mjs.

Features

Certbot

  • Install Certbot on debian (more)

Git

  • Install a git server (more)
    • With an auto-deployment script (more)
    • With a blue-green deployment through nginx (more)

Node

  • Install node on debian through nvm (more)

SSH

  • Disable password login (more)

sudo

  • Authorize a command for a user (more)

zx

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.

About

Scripts to speed up init and deployment tasks on servers - Written with ZX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published