Skip to content

Commit

Permalink
maybe need it?
Browse files Browse the repository at this point in the history
  • Loading branch information
lizzypy committed Oct 30, 2023
1 parent 9c5e17b commit 4b58c8d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.9.15
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,19 @@ To run a single test from root:
`cd analysis && pytest utils/tests/test_cleaning.py`


### Terraform
### Terraform

To build the resources needed to run the glue job in aws you should move into the tf directory then run:

1. `terraform init`
2. `terraform plan`
3. `terraform apply`

#### Notes:

- The terraform holds its state remotely. You should create an aws bucket in your aws account named `recommendation-engine-terraform-state`
- You should create a dynamo-db table named `recommendation-engine-lock`
- That table MUST have an id of LockID
- You will need to change the name of your S3 bucket. S3 bucket names must be globally unique
- You need to manually add the `all_movies.csv` from analysis/notebooks/input/all_movies.csv to your S3 bucket once it's created
- You will need to run the ./upload_prepare.sh script manually if you don't let github run the step for you before using the script in AWS

0 comments on commit 4b58c8d

Please sign in to comment.