A CLI tool to simplify the process of configuring vms for me.
to install run
curl -sSL https://get.shreyamdo.shreyam.dev/ | bash
shreyam-do - Shreyam's setup scripts
Usage: shreyam-do [options]
Options:
[command] Run a specific setup script
-h, --help Display this help message
-v, --version Display version information
-s, --setup Set up the system with all the required packages
-r, --remove Remove all installed packages
shreyam-do -s
- installs all the required packages on a fresh vm and configure with npm, zsh, autosuggestions etc.shreyam-do -r
- removes all the packages installed by the toolshreyam-do -v
- displays the version of the toolshreyam-do -h
- displays the help message and the options availableshreyam-do <command>
- runs the specific command
shreyam-do doker-setup
- installs docker and docker-compose on the vm and enables http and https ports from firewallshreyam-do enable-overcommit
- enables overcommit which helps with memory issues on virtual machinesshreyam-do ssl-nginx <domain>
- generates ssl certificate for the domain from letsencrypt and automatically configures nginx to serve the domain with sslshreyam-do ssl-cert <domain>
- generates ssl certificate for the domain from letsencrypt and saves it in/etc/letsencrypt/live/<domain>
shreyam-do open-ports
- opens necessary ports for nginx on firewallshreyam-do symLink <conf-file>
- creates a symlink of the conf file in nginx
- Create an issue if you find any bug or want to suggest a feature
- Fork the repo and create a PR if you want to contribute