README: Add comments about running the dev-site on Windows

This commit is contained in:
netravnen 2018-07-07 15:24:45 +02:00
parent 7a519de494
commit ab40a6bbaf
1 changed files with 9 additions and 0 deletions

View File

@ -23,6 +23,15 @@ You need docker-compose. Simply run
You can now see the site at [localhost:4000](http://localhost:4000)
### Or install Jekyll localy on Windows
If using Ruby >=2.5 be sure to remove version numbers from dependency
Gemfile gems and remember to also delete Gemfile.lock compiling
Jekyll site.
You will also need to recompile the gem 'eventmachine' locally.
`gem install --platform ruby eventmachine`
## Deploy
If not using Docker, it's **important** that you build the site with `JEKYLL_ENV=production bundle exec jekyll build` before deploying the contents of the `_site` directory. We're doing some debugging stuff when the project is build in the development env.