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
Multiple upgrades to get the system working locally with docker and Django 3 (#310)
* Update defusedxml to 0.6.0.
Fixes#288.
* Update isort version for pre-commit.
The repo switched from "master" to "main" branch naming.
* Multiple changes to make the project work easily in Docker
* Upgrade to Django 3.2
* use python3.9-slim docker image to avoid issues with alpine
Co-authored-by: Jordi Bagot <jbagot@kavehome.com>
Copy file name to clipboardExpand all lines: README.md
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,13 +144,13 @@ We use the following code formatters:
144
144
145
145
They are included in the requirements.txt so they were installed already when you [installed dependencies](#install-dependecies-and-migrate-the-database).
146
146
147
-
On the first commit after installing`pre-commit`, Black and iSort it will create a new environment, which may take a few minutes. This environment will be reused for all subsequent commits.
147
+
On the first commit after doing`pre-commit install`, Black and iSort it will create a new environment, which may take a few minutes. This environment will be reused for all subsequent commits.
148
148
149
149
### Loading City data
150
150
151
151
In order to make it easier to create Places and Teams without having to manually
152
152
enter records for Country, SPR (State/Province/Region) and City, you can preload
153
-
them using data files from <http://download.geonames.org/export/dump/>
153
+
them using data files from <https://download.geonames.org/export/dump/>
154
154
155
155
The provided `load_spr` and `load_cities` commands will only load data if the
156
156
parent country (or SPR for cities) exists in the database. This lets you choose
@@ -159,24 +159,30 @@ for select SPRs.
159
159
160
160
#### Countries
161
161
162
-
Download the [countryInfo.txt](http://download.geonames.org/export/dump/countryInfo.txt)
163
-
file from GeoNames, then run:
162
+
Download the [countryInfo.txt](https://download.geonames.org/export/dump/countryInfo.txt)
0 commit comments