Skip to content

Commit

Permalink
add vips to install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nciemniak committed Nov 14, 2022
1 parent 0a0a2f7 commit 7ce13fd
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ docker-compose up

* [Docker](https://www.docker.com/community-edition#/download)
* Ruby 3.0.3
* [libvips](https://www.libvips.org/install.html)

#### Run setup script

Expand All @@ -66,10 +67,10 @@ docker-compose run web rake spree_sample:load
#### Install required tools and dependencies

1. HomeBrew - https://brew.sh/
2. Install required packages
2. Install required packages: GPG, PostgreSQL, Redis, ImageMagick, and VIPS

```bash
brew install gpg postgresql redis imagemagick
brew install gpg postgresql redis imagemagick vips
createuser -P -d postgres
```

Expand Down Expand Up @@ -148,6 +149,17 @@ docker-compose restart
| MEMCACHED_POOL_SIZE | memcache connection pool | 5 |
| SENDGRID_API_KEY | API key to interface Sendgrid API | |

## Troubleshooting

### libvips error

If you are building the application using the latest code, you may encounter the following libvips error:
```
LoadError: Could not open library 'vips.so.42'
```
This error is usually an indication that you do not have libvips installed locally on your machine. Check that libvips is installed with `vips -v`, and if it is not installed, follow [installation instructions here](https://www.libvips.org/install.html).


## License

Spree Starter (formerly Spark Starter Kit) is copyright © 2015-2021
Expand Down

0 comments on commit 7ce13fd

Please sign in to comment.