Skip to content
forked from 0xcf/decal-web

Course information for the XCF/OCF Unix System Administration DeCal

License

Notifications You must be signed in to change notification settings

mahbois/decal-web

 
 

Repository files navigation

OCF/XCF Linux SysAdmin DeCal Website

Build Status

This is the source of the OCF/XCF Unix System Administration DeCal website, currently available at decal.ocf.berkeley.edu.

The current iteration uses Jekyll to produce pages.

Development

decal-web is built for Jekyll, a static site generator. View the quick start guide for more information.

Developing on Supernova

This is the recommended method of development.

  1. SSH into supernova
$ ssh <ocf-username>@supernova.ocf.berkeley.edu
  1. Clone this repository
$ git clone https://github.com/0xcf/decal-web
  1. Start the Jekyll server on supernova with:
$ cd decal-web
$ make supernova

The console should ouput a web address (http://supernova.ocf.berkeley.edu:8xxx/). This web-page will update as you make changes, reload your browser tab to preview the changes.

Developing on your local machine

You will need Ruby 2 to build the site (it has been tested on Ruby2.7.4).

  • On Ubuntu 20.04, Ruby can be installed using sudo apt install ruby-full.
  • If using Arch, follow this guide to install it.
  • ruby-install is a helpful script- you can run ruby-install 2.7.4 if Ruby is on the wrong version in your package manager.

You may also need to install Bundler 2.2.25: gem install bundler:2.2.25

  1. Install Jekyll
$ bundle install
  1. Start your local Jekyll server. You can also use make local-dev.
$ bundle exec jekyll serve
  1. The console should output a server address (localhost:8xxx). Open that address in your browser.
  2. Reload your web browser after making a change to preview its effect.

For more information, refer to Just the Docs.

About

Course information for the XCF/OCF Unix System Administration DeCal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 78.5%
  • SCSS 17.4%
  • Makefile 2.0%
  • Liquid 1.9%
  • Ruby 0.2%