- bundle install
- bundle exec jekyll serve
The v4 documentation is currently not re-built because it is assumed to be static. To enable building the v4 website:
-
Set your path to include Ruby 2.5
set PATH=C:\Ruby2.5\bin;%PATH%
-
Ensure COSMOS4 is built:
cd C:\COSMOS4 rake build
-
Comment out the _config.yml exclude and keep_files section:
exclude: - Gemfile - Rakefile #- _docs_v4/* # No longer automatically generate v4 content #keep_files: #- docs/v4 # Thus we keep the existing content
-
Now you can build with
bundle exec jekyll build
To deploy the website to github
- bundle exec rake build
- git commit -am "Build website"
- git push
- bundle exec rake deploy