Tegu on Jekyll peale ehitatud uhiuue lehega
Materials are on Google Drive > Lapikud > Tarkvara > Väliveeb
Easiest way to help would be to create issues about things that are missing and wrong
Fork this repo to your own account and create a pull request for changes you have done in there
Windows:
Install the Windows Subsystem for Linux
Install Ubuntu
Install Ruby
sudo apt install build-essential ruby ruby-dev dh-autoreconf
Install Jekyll
sudo gem install jekyll
Clone repo
git clone https://github.com/Lapikud/lapikud.github.io.git
Serve the page (Use bash if on Windows)
cd lapikud.github.io
jekyll serve --host 0.0.0.0
Image converter usage (requires imagemagick)
No one wants to download 5MB images that are then shown in a 100x100px box.
Always resize images before committing them!
sudo apt-get install imagemagick
sh convert-past-management-images.sh
MacOS:
Install Homebrew if you don't have it already
If you're using Bash, write /bin/bash
instead of /bin/zsh
.
/bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install the latest stable version of Ruby
brew install ruby
Also configure your shell environment.
If you're using Bash, replace .zshrc
with .bash_profile
.
if [ -d "/usr/local/opt/ruby/bin" ]; then
export PATH=/usr/local/opt/ruby/bin:$PATH
export PATH=`gem environment gemdir`/bin:$PATH
fi
Check that Ruby is working.
ruby -v
Install the latest Jekyll gem
sudo gem install jekyll
Clone repo
git clone https://github.com/Lapikud/lapikud.github.io.git
Serve the page
cd lapikud.github.io
jekyll serve --host 0.0.0.0
Image converter usage (requires imagemagick)
No one wants to download 5MB images that are then shown in a 100x100px box.
Always resize images before committing them!
brew install imagemagick
sh convert-past-management-images.sh
Push to master branch and wait for deployment, it could take up to 2h for the page to update. You can check the progress by clicking on the environment link