appside
appside copied to clipboard
Initial bootstrap
we want to implement some kind of bootstrapping feature which allows devs to easily get-started with AppFlow. The idea is that:
- Someone, ore some cloud, provides a blank VM with just
ssh. - An
appflow(or other) user with anssh-passwordmust be provided on the VM. - This user must have
sudorights.
so we run something like utils/bootstrap.sh <tenant> <env> [<ssh-username>] <host> and this script will:
- Change the pwd of the
appflowuser or create it if it does not exist. - Use the
mrrobotconfig skeleton and configureinventoryfor newappflow-tenant - Start provisioning basic AppFlow with example vhost.
we could also directly provide a public key or similar. In other words we want to just run a command with three parameters and everything get's setup on order to be ready to use AppFlow and deploy applications on a remote blank VM.