diff --git a/.env.production b/.env.production deleted file mode 100644 index e853a1b..0000000 --- a/.env.production +++ /dev/null @@ -1,2 +0,0 @@ -VUE_APP_BACKEND_URL=https://ysu4sm9d38.eu-west-1.awsapprunner.com -VUE_APP_BACKEND_PORT=443 \ No newline at end of file diff --git a/.gitignore b/.gitignore index e36f407..328ed3d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,9 @@ node_modules/ .env.local .env.*.local +# production env file (don't want to reveal path to backend) +.env.production + # Log files npm-debug.log* yarn-debug.log* @@ -19,3 +22,6 @@ yarn-error.log* *.njsproj *.sln *.sw* + +.aws-sam/ +*.toml diff --git a/README.md b/README.md index b1fb448..82cbecf 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,10 @@ See [Configuration Reference](https://cli.vuejs.org/config/). ``` docker build -t mjduffin/risk-client . docker run -it -p 8081:80 --rm --name risk-client-1 mjduffin/risk-client -``` \ No newline at end of file +``` + +# Deployment + +Run `yarn build` and drop the contents of the `dist` directory into the S3 bucket configured for static website hosting. This can be done easily using the following CLI command: + +`aws s3 sync dist/ s3:///`