Template site for angular-jekyll-editor.
Example:
git clone https://bitbucket.org/vencax/angular-jekyll-editor-template/
export B=banner-theme
cd angular-jekyll-editor-template
git pull
git remote add ghtmp https://github.com/kolovraty/kolovraty.github.io.git
git checkout $B
git push ghtmp $B:master
To hack the web on your computer, you need ruby and gem.
Try first if you already have them with:
ruby -v && gem -v && echo "ok, I have all I need!"
If you do not see versions of programs you need to install them. Most convenient way is to use rvm.
# install rvm already with ruby
\curl -sSL https://get.rvm.io | bash -s stable --ruby
# see what version was installed
rvm list
# select it as default
rvm alias create default 2.2
# then each time you want ruby and co. run
rvm-shell
Or you can use package manager of your distribution.
Continue with (you can copy & paste into shell):
# Now you HAVE ruby and gem installed. Try it with:
ruby -v && gem -v && echo "ok, I have all I need!"
# Now you can clone this repo
git clone https://github.com/otevrenamesta/otevrenamesta.github.io om-web
cd om-web
# Now you have install all necessary gems, the most easy way is use bundler
gem install bundler
bundle install
# Now you can run [jekyll](http://jekyllrb.com/)
jekyll serve
If you use a certain version of ruby (the author uses 2.1.2), you have to switch before each use of jekyll with
rvm use 2.1.2
For details see assets folder.