This is the web page at http://www.ev3dev.org and also http://ev3dev.github.io.
Feel free to fork and make a pull request.
You can view your changes locally by installing jekyll.
sudo apt-get install git ruby ruby-dev zlib1g-dev nodejs
sudo gem install bundler
If you use ruby for other things and don't want to mess up you system ruby
installation, you can install ruby via rvm
instead. Note that you must do the
'source' line when you open a new xterm or add it to ~/.bashrc
.
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable --ruby
source ~/.rvm/scripts/rvm
You will still need to run the following too...
sudo apt-get install git zlib1g-dev nodejs
sudo gem install bundler
git clone git@github.com:<user>/ev3dev.github.io
cd ev3dev.github.io
bundle install
bundle exec jekyll serve --safe --incremental &
www-browser http://localhost:4000 &
# work, work, work
- Follow the instructions in step 1 here (Installing Ruby and the Ruby DevKit).
Then run:
gem install bundler
git clone https://github.com/<user>/ev3dev.github.io
cd ev3dev.github.io
bundle install
bundle exec jekyll serve --safe --incremental
Now you should be able to visit your page at: http://localhost:4000. It should auto-update when you change the source files, so all you have to do is refresh your browser.
We have a special script to use to publish your changes using the gh-pages
branch of your fork of ev3dev.github.io. If you have SSH setup for your GitHub
account, simply run./publish <gh-user>
where <gh-user>
is your actual GitHub
user name.
This will copy the contents of _site
, fix it up a bit and push it to your
fork on GitHub. You can view the results at http://<gh-user>.github.io/ev3dev.github.io
.