StableDiffusion/infra/start.sh

11 lines
400 B
Bash
Raw Normal View History

2023-05-07 16:59:07 +00:00
source .env
rm -rf ./app
rsync --exclude='.' --recursive --copy-links ../ ./app
pulumi config set name $NAME --stack dev
pulumi config set project $PROJECT --stack dev
pulumi config set region $REGION --stack dev
pulumi config set node_count $NODE_COUNT --stack dev
pulumi config set machine_type $MACHINE_TYPE --stack dev
pulumi config set replicas $REPLICAS --stack dev
pulumi up --yes --stack dev