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: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,10 +86,10 @@ Export the GeoJSON file and save it as the file `parking-lots-update.geojson` in
86
86
87
87
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`.
88
88
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'.
90
90
91
91
```bash
92
-
❯ pnpm -F scripts update-lots -- 'My City, AZ'
92
+
❯ pnpm -F scripts update-lots -- 'primary''My City, AZ'
93
93
```
94
94
95
95
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
102
102
103
103
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`.
104
104
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'.
106
106
107
107
```bash
108
-
❯ pnpm -F scripts update-city-boundaries -- 'My City, AZ'
108
+
❯ pnpm -F scripts update-city-boundaries -- 'primary''My City, AZ'
109
109
```
110
110
111
111
[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
120
120
121
121
Then, determine the city/state name, such as `St. Louis, MO`.
122
122
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'.
124
124
125
125
```bash
126
-
❯ pnpm -F scripts add-city -- 'My City, AZ'
126
+
❯ pnpm -F scripts add-city -- 'primary''My City, AZ'
127
127
```
128
128
129
129
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