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 an ssh-password must be provided on the VM.
This user must have sudo rights.
so we run something like utils/bootstrap.sh <tenant> <env> [<ssh-username>] <host> and this script will:
Change the pwd of the appflow user or create it if it does not exist.
Use the mrrobot config skeleton and configure inventory for new appflow-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.
we want to implement some kind of bootstrapping feature which allows devs to easily get-started with AppFlow. The idea is that:
ssh
.appflow
(or other) user with anssh-password
must be provided on the VM.sudo
rights.so we run something like
utils/bootstrap.sh <tenant> <env> [<ssh-username>] <host>
and this script will:appflow
user or create it if it does not exist.mrrobot
config skeleton and configureinventory
for newappflow-tenant
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.