Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 797 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 797 Bytes

amphp.org

Setting up your local Jekyll environment

Follow the instructions on help.github.com. If the third step fails, try installing ruby-dev.

$ sudo apt-get install ruby-dev

Quickstart

$ sudo gem install bundler
$ git clone git@github.com:amphp/amphp.github.io amphp/docs
$ cd amphp/docs
$ bundle install
$ bundle exec jekyll serve

Alternatively using Docker

NOTE: Don't commit your work while Docker runs, otherwise Gemfile will be renamed to Gemfile.docker!

docker run --name=jekyll -v=$(pwd):/srv/jekyll -ti -p 127.0.0.1:4000:4000 jekyll/jekyll:pages

Next time you can just use docker start jekyll / docker stop jekyll to start /stop it again.