Skip to content
This repository was archived by the owner on Dec 5, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ APP_SETTINGS="luupsmap.config.DevelopmentConfig"

SECRET_KEY=<application-key>

DB_NAME=<db-name, e.g luups_map_dev>
DB_ADDRESS=<db-address. e.g. localhost:5432>
DB_USER = <db-user>
DB_PW = <db-password>

Expand Down Expand Up @@ -99,4 +101,11 @@ flask data update
```

This will update the CSV with missing location data and venue data. For more information see
[update.py](/luupsmap/cli/commands/update.py).
[update.py](/luupsmap/cli/commands/update.py). In order to set opening hours for a specific location edit the column
`opening_hours`. The data seeder expects opening hours of the format:

```
Day[-Day] Hour[-Hour] [Month[-Month]], ...
```

where expressions in brackets are optional, days and months are shortened english names (e.g. `Mo, Tu, We`, `May, Jun, Jul`) and hours have either the long format `hh:mm` or simply `hh`.
224 changes: 112 additions & 112 deletions data/locations.csv

Large diffs are not rendered by default.

115 changes: 0 additions & 115 deletions data/locations_old.csv

This file was deleted.

Loading