Lapikute avalik koduleht
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Andree Uuetoa 09af35b0b3
Create environment setup guide for MacOS
2 years ago
_data Members update 2023 (#72) 2 years ago
_includes Update footer.html copyright 2019 -> 2020 5 years ago
_layouts Created basic Jekyll blog 6 years ago
_posts Added blog post on ASI Karikas (#70) 2 years ago
_sass Turn front page call to action icons into links 6 years ago
assets Members update 2023 (#72) 2 years ago
.gitignore Keep jekyll-cache out of here 3 years ago
404.html Add 404 page with trailing slash redirect 7 years ago
CNAME Create CNAME 7 years ago
LICENSE Import laphack page 7 years ago
README.md Create environment setup guide for MacOS 2 years ago
_config.yml Replace TTÜ acronym with Tallinna Tehnikaülikool 6 years ago
aboutus.html Our work view + various improvements 7 years ago
blog.html Edited title 6 years ago
contact.html Members update 2023 (#72) 2 years ago
favicon.ico Add join page and favicon 7 years ago
helpdesk.html Add FB Messenger links 6 years ago
history.html Students view, landing page 7 years ago
index.html Turn front page call to action icons into links 6 years ago
join.html update join form for 2019 6 years ago
kalender.md Add stiim and kalender pages 7 years ago
liitu.html Symlink liitu to join 7 years ago
members.html Our work view + various improvements 7 years ago
mentors.html 2022 aasta Mentorid to Onboarding update (#67) 3 years ago
ourwork.html Mentors view, history view 7 years ago
statute.html update statute 6 years ago
striim.html Update stream urls, as Motion Live Stream Server had updated. And remove kfm 3 years ago
striim_front.html Fix stream link 3 years ago
student.html Add join page and favicon 7 years ago
test Add a note about resizing images 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:

  1. Install the Windows Subsystem for Linux

    Install Ubuntu

    https://docs.microsoft.com/en-us/windows/wsl/install-win10

  2. Install Ruby

     sudo apt install build-essential ruby ruby-dev dh-autoreconf
    
  3. Install Jekyll

     sudo gem install jekyll
    
  4. Clone repo

     git clone https://github.com/Lapikud/lapikud.github.io.git
    
  5. Serve the page (Use bash if on Windows)

     cd lapikud.github.io
     jekyll serve --host 0.0.0.0
    
  6. 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:

  1. 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)"
    
    1. 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
      
  2. Install the latest Jekyll gem

      sudo gem install jekyll
    
  3. Clone repo

     git clone https://github.com/Lapikud/lapikud.github.io.git
    
  4. Serve the page

     cd lapikud.github.io
     jekyll serve --host 0.0.0.0
    
  5. 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
    

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

Deployments link