Skip to content

Commit

Permalink
add template for s3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
mduffin95 committed Jun 10, 2024
1 parent a8aa102 commit 65af4b4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .env.production

This file was deleted.

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand All @@ -19,3 +22,6 @@ yarn-error.log*
*.njsproj
*.sln
*.sw*

.aws-sam/
*.toml
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
```

# 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://<bucket-name>/`

0 comments on commit 65af4b4

Please sign in to comment.