mirror of
https://github.com/dathere/de-intern-guide.git
synced 2025-12-19 00:39:24 +00:00
feat: mention ahoy Permission denied error and macOS postgis fix
postgis fix as per #29.
This commit is contained in:
parent
063ab299b1
commit
31b0b6a187
1 changed files with 14 additions and 1 deletions
|
|
@ -112,17 +112,30 @@ git config --global credential.credentialStore "cache"
|
|||
```
|
||||
-->
|
||||
|
||||
## Set up ckan-compose
|
||||
## Set up ckan-compose (provides you with PostgreSQL, Redis, and SOLR 9)
|
||||
|
||||
```bash
|
||||
cd ~/
|
||||
sudo apt install docker-compose -y
|
||||
git clone https://github.com/tino097/ckan-compose.git
|
||||
cd ckan-compose
|
||||
git switch solr-9-impl
|
||||
ahoy generate-env
|
||||
ahoy up
|
||||
```
|
||||
|
||||
:::info Apple Silicon?
|
||||
|
||||
If you're using macOS, you may need to change the postgis image used in `ckan-compose/postgres/Dockerfile`. Change `FROM postgis/postgis:16-3.4-alpine` to FROM `imresamu/postgis:16-3.4-bundle0-bookworm` (based on [this issue](https://github.com/dathere/de-intern-guide/issues/29)).
|
||||
|
||||
:::
|
||||
|
||||
:::info Permission denied?
|
||||
|
||||
If you get a "Permission denied" error, you may need to run `sudo ahoy up` instead of `ahoy up`.
|
||||
|
||||
:::
|
||||
|
||||
You may get asked after `ahoy generate-env` to provide a `PROJECT_NAME`, this can be anything so we'll put `myproject`. You may also use the defaults for `DATASTORE_READONLY_PASSWORD` and `POSTGRES_PASSWORD` for development.
|
||||
|
||||
## CKAN steps 1-4 with caveats
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue