Skip to content
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
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,37 @@ https://www.niche-museums.com/about
Read [niche-museums.com, powered by Datasette](https://simonwillison.net/2019/Nov/25/niche-museums/) for a detailed explanation of how this all works.

The content on this site (primary contained in `museums.yaml`) is licensed [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)

## Setup

This project uses *[Poetry](https://python-poetry.org/)* to make it easier to setup the appropriate dependencies to run.

Installation steps for *Poetry* can be checked on their [website](https://python-poetry.org/docs/#installation) but for most of the cases this command line would work:
```
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
```

Install dependencies:
```
poetry install
```

Build the museum database:
```
# On bash
poetry run `pwd`/build.sh
# On fish shell
poetry run (pwd)/build.sh
```

## Run

Start the server:
```
# On bash
poetry run `pwd`/serve.sh
# On fish shell
poetry run (pwd)/serve.sh
```

The address will be printed on the terminal window. The 'Niche Museums' website will be accesible through it.
Loading