Xavitar is an interactive shell script that, according to your provided parameters and the credentials you fill in, automates the creation of a domain through Laravel Forge, a VCS provider and Cloudflare as CDN.
- Bash version 4.2+ (associative arrays)
- JQ (JSON formatting/desctructuring etc.)
- Download the repository and unzip it.
- Give the main script file the permission to run it:
chmod +x ~/xavitar.sh
- Server instance
- MySQL database/user
- Deployment script for push-to-deploy features and composer/npm installations (Laravel Forge)
- Environment variables
- Repository installation and remotes
- Site registration
- Default DNS deletion (from domain registar)
- DNS creation from chosen server istance