Add a deploy doc

This commit is contained in:
Quentin 2021-02-03 11:28:41 +01:00
parent 8f3b18f628
commit ce7820801a
1 changed files with 18 additions and 0 deletions

18
DEPLOY.md Normal file
View File

@ -0,0 +1,18 @@
## À réaliser au premier clonage du dépôt
Commencer par créer un fichier `.awsclirc` avec cette structure :
```
export AWS_ACCESS_KEY_ID='xxxx'
export AWS_SECRET_ACCESS_KEY='xxxx'
export AWS_DEFAULT_REGION='garage'
alias awsdf="aws --endpoint-url https://garage.deuxfleurs.fr"
```
Installer [l'outil en ligne de commande de AWS version 2](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html) qui fournit la commande `aws`.
Enfin, déployer en exécutant :
```
./deploy
```