|
|
# Windows installation
|
|
|
|
|
|
Blacklight generally should work fine on Windows! There are a couple of caveats, in particular around the image optimizer tools.
|
|
|
|
|
|
## Git SSH Keys
|
|
|
You'll likely need working git ssh keys so the "bl module install" command can work. This can be challenging on Windows, but definitely doable. Google is your friend if you encounter difficult.
|
|
|
|
|
|
## Image optimizer tools
|
|
|
Use [Chocolatey](https://chocolatey.org) to get the following:
|
|
|
- [ImageMagick](https://chocolatey.org/packages/imagemagick.app)
|
|
|
- [jpegoptim](https://chocolatey.org/packages/jpegoptim)
|
|
|
|
|
|
Use [Cygwin](https://cygwin.com/) to get:
|
|
|
- [lcms2](https://cygwin.com/packages/x86_64/lcms2/) - Use the cygwin "setup" dialog to find and install this package.
|
|
|
|
|
|
Once that's done, configure `local.json` to point to folders like these:
|
|
|
|
|
|
```json
|
|
|
{"imageOptimizer":{
|
|
|
"jpegoptim":"C:/ProgramData/chocolatey/lib/jpegoptim/tools/jpegoptim.exe",
|
|
|
"jpgicc":"c:/cygwin/bin/jpgicc.exe",
|
|
|
"imagemagick-convert":"c:/progra~1/ImageMagick-7.0.1-Q16/magick.exe"
|
|
|
}}
|
|
|
``` |