You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing/quickstart.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Now the website will run locally. You have some options on how to set up the dat
19
19
## (2) DATABASE SETUP
20
20
There are two options here - a "test" database with generated data, or the production database (with sensitive information removed).
21
21
1.**Test database**: Quick to set up, but may not mirror real-world data well. `docker exec -it rails bash -c "bin/rake db:reset"`
22
-
2.**Exported database**: Takes 60-90 minutes to set up, but uses actual data from the live website. `docker exec -it rails bash -c "bin/rake db:load:development"`
22
+
2.**Exported database**: Takes 60-90 minutes to set up, but uses actual data from the live website. `docker exec -it rails bash -c "bin/rake db:load:development[reload]"`
23
23
24
24
## (3) RUNNING TESTS
25
25
Two options - running while your docker server is running, or running tests independently.
Copy file name to clipboardExpand all lines: wst-processes/internal_processes.md
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -120,3 +120,34 @@ For example, `3.2.1` --> `4.0.0` (first digit)
120
120
You should skim the changelog for any breaking changes that could be relevant.
121
121
If it's a crucial part of our infrastructure (see above), get a second pair of eyes to review.
122
122
123
+
# Removing Duplicate Motions
124
+
125
+
Motions are stored in an S3 bucket:
126
+
127
+
Currently, motions are not deleted when a new set is deployed. We have to delete them manually, and clear the cache key.
128
+
1. Delete the old file
129
+
1. Navigate to: https://us-west-2.console.aws.amazon.com/s3/buckets/wca-documents?region=us-west-2&bucketType=general&prefix=documents%2Fmotions%2F&showversions=false&tab=objects
130
+
1. Select the file and select delete
131
+
1. Confirm that you are targeting the correct file, and enter "permanently delete"
132
+
1. Clear the cache
133
+
1. Connect to the production instance
134
+
1. Enter the rails console with `bin/rails console`
135
+
1. Find the cache key for the documents list with the following code:
0 commit comments