Skip to content

Commit d6c4e31

Browse files
Fix README instructions for scripts (#318)
1 parent c7fd0d8 commit d6c4e31

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ Export the GeoJSON file and save it as the file `parking-lots-update.geojson` in
8686

8787
Then, determine the city/state name. This is the same as what we show in the city toggle on the site, e.g. `St. Louis, MO`.
8888

89-
Now, run the below but replace the last part with the city/state name (in single quotes!):
89+
Now, run the following command, but replace the last part with the city/state name (in single quotes!). If you're adding to the Connecticut map, replace 'primary' with 'ct'.
9090

9191
```bash
92-
❯ pnpm -F scripts update-lots -- 'My City, AZ'
92+
❯ pnpm -F scripts update-lots -- 'primary' 'My City, AZ'
9393
```
9494

9595
Run the site with `npm start` and make sure it's what you want. Also, autoformat the file with `pnpm fmt`.
@@ -102,10 +102,10 @@ Export the GeoJSON file and save it as the file `city-update.geojson` in the roo
102102

103103
Then, determine the city/state name. This is the same as what we show in the city toggle on the site, e.g. `St. Louis, MO`.
104104

105-
Now, run the below but replace the last part with the city/state name (in single quotes!):
105+
Now, run the following command, but replace the last part with the city/state name (in single quotes!). If you're adding to the Connecticut map, replace 'primary' with 'ct'.
106106

107107
```bash
108-
❯ pnpm -F scripts update-city-boundaries -- 'My City, AZ'
108+
❯ pnpm -F scripts update-city-boundaries -- 'primary' 'My City, AZ'
109109
```
110110

111111
[Start the server](#start-the-server) to make sure it's what you want. Also, autoformat the file with `pnpm fmt`.
@@ -120,10 +120,10 @@ Also export the city's parking lots GeoJSON and save it as the file `parking-lot
120120

121121
Then, determine the city/state name, such as `St. Louis, MO`.
122122

123-
Now, run the below but replace the last part with the city/state name (in single quotes!):
123+
Now, run the following command, but replace the last part with the city/state name (in single quotes!). If you're adding to the Connecticut map, replace 'primary' with 'ct'.
124124

125125
```bash
126-
❯ pnpm -F scripts add-city -- 'My City, AZ'
126+
❯ pnpm -F scripts add-city -- 'primary' 'My City, AZ'
127127
```
128128

129129
Next, manually fill in the score card entries in the `city-stats.json` for the app you're adding the city to. Search for the city name and update the values.

0 commit comments

Comments
 (0)