|
2 months ago | |
---|---|---|
_data | 3 months ago | |
_includes | 3 months ago | |
_layouts | 6 years ago | |
_posts | 2 years ago | |
_sass | 8 months ago | |
assets | 2 months ago | |
.gitignore | 3 years ago | |
404.html | 2 years ago | |
CNAME | 7 years ago | |
LICENSE | 7 years ago | |
README.md | 2 years ago | |
_config.yml | 6 years ago | |
aboutus.html | 7 years ago | |
blog.html | 6 years ago | |
contact.html | 2 years ago | |
favicon.ico | 7 years ago | |
helpdesk.html | 6 years ago | |
history.html | 7 years ago | |
index.html | 4 months ago | |
join.html | 2 years ago | |
kalender.md | 7 months ago | |
liitu.html | 7 years ago | |
members.html | 7 years ago | |
mentors.html | 8 months ago | |
ourwork.html | 7 years ago | |
statute.html | 6 years ago | |
striim.html | 3 years ago | |
striim_front.html | 3 years ago | |
student.html | 7 years ago | |
test | 5 years ago |
README.md
Lapikute väliveeb
Tegu on Jekyll peale ehitatud uhiuue lehega
Development plan
Materials are on Google Drive > Lapikud > Tarkvara > Väliveeb
Contribution guide
1. Create Issues
Easiest way to help would be to create issues about things that are missing and wrong
2. Fork this repo and create a pull request
Fork this repo to your own account and create a pull request for changes you have done in there
How to setup development environment
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
Deploy
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