Selenide blog in Russian
sudo apt-get install ruby sudo gem install jekyll bundler bundle exec jekyll serve --watch --trace
selenide> git tag -a v5.23.0 -m "released selenide 5.23.0" selenide> git push origin --tags selenide> ./gradlew clean check selenide> ./gradlew publish --no-parallel --info selenide> mkdir ../selenide-web/javadoc/5.23.0/ selenide> cp -r build/docs/javadoc-to-upload/* ../selenide-web/javadoc/5.23.0/ selenide> rm -fr ../selenide-web/javadoc/current/* selenide> cp -r build/docs/javadoc-to-upload/* ../selenide-web/javadoc/current/ selenide-web> git add javadoc/5.23.0 selenide-web> git add javadoc/current selenide-web> git commit -m "publish javadoc for Selenide 5.23.0" selenide-web> git push
- Install Ruby http://rubyinstaller.org/downloads/ Get version 1.9+, not 2.+
Check:
c:\users\andrei>ruby -v
ruby 1.9.3p448 (2013-06-27) [i386-mingw32]
-
Download from
http://rubyinstaller.org/downloads/ file DevKit-tdm-32-*-sfx.exe
Unpack to any folder (NB! Do not use ~\Downloads, but use e.g. ~\Downloads\temp_rubydevkit)
Follow installation instructions: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
> ruby dk.rb init
> ruby dk.rb install (NB! --force)
Check:
gem install json --platform=ruby
ruby -rubygems -e "require 'json'; puts JSON.load('[42]').inspect"
- Install Jekyll with dependencies:
gem install github-pages
- Run "jekyll build".
Get error:
Destination: D:/projects/selenide-web/_site
Generating... D:/Ruby193/lib/ruby/gems/1.9.1/gems/posix-spawn-0.3.6/lib/posix/spawn.rb:162: warning: cannot close fd before spawn
←[31m Conversion error: There was an error converting '_posts/2013-04-23-what-is-selenide.md'.←[0m
- Google says: "Fix pygments gem version"
gem uninstall pygments.rb --version "=0.5.2"
gem install pygments.rb --version "=0.5.0"
-
Run
jekyll build
. Get error: Generating... ←[31m Conversion error: There was an error converting '_posts/2013-04-23-what-is-selenide.md'.←[0m -
Google says: "Install Python".
-
Install Python 2.+ (not 3.+) from http://www.python.org/getit/
-
Run
jekyll serve --watch
. -
Open http://localhost:4000 in browser.