Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 1.59 KB

README.md

File metadata and controls

46 lines (40 loc) · 1.59 KB

Cabrillo Robotics Club Website

Source for cabrillorobotics.org.

Getting Started

Install Jekyll

These instructions are for Ubuntu. For other OS view the installation guide.

  1. Install Ruby and other prerequisites.

    sudo apt-get install ruby-full build-essential zlib1g-dev
  2. Avoid installing RubyGems packages (called gems) as the root user.

    echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
    echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
    echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
    source ~/.bashrc
  3. Install Jekyll and Bundler.

    gem install jekyll bundler

Deploy Locally

  1. To deploy the site on a local server to see live changes as you develop, run the following in the root directory of this repository.
    bundle exec jekyll s
  2. If zsh: command not found: bundle or similar error, re-source the bashrc.
    source ~/.bashrc
  3. Follow the link provided following theServer address: qualifier. Should look something like the following.
    Server address: http://127.0.0.1:4000
  4. Save the content then refresh the page with ctrl-shift-r to see live changes (reload the current page, ignoring cached content).

Deploy

  1. GitHub actions will build and deploy the pages upon push to this branch.

Resources