Skip to content
/ wi21 Public
forked from ucsd-cse130/wi21

Public course materials for UCSD CSE 130 Winter 2021

License

Notifications You must be signed in to change notification settings

3rl3nd/wi21

 
 

Repository files navigation

130-web

Public course materials for UCSD CSE 130: Winter 2020

Install

You too, can build this webpage locally, like so:

git clone git@github.com:ucsd-cse130/wi20.git
cd wi20
make

To then update the webpage after editing stuff, do:

make upload

The website will live in _site/.

Customize

By editing the parameters in siteCtx in Site.hs

View

You can view it by running

make server

Update

Either do

make upload

or, if you prefer

make
cp -r _site/* docs/
git commit -a -m "update webpage"
git push origin master

To build Lecture Versions

To build the "lecture" version of all the html i.e. without the answers to quizzes and other questions, replace the following in Site.hs

    crunchWithCtxCustom "final" postCtx

with

    crunchWithCtxCustom "lecture" postCtx

Then, as you go through the lectures, replace match "lectures/*" with

match "lectures/00-*"    $ crunchWithCtxCustom "final" postCtx
match "lectures/*"       $ crunchWithCtxCustom "lecture" postCtx

(and gradually add more and more lectures to final as I go through them)

New Class Checklist

  • Site.hs
  • index.md
  • links.md
  • contact.md
  • lectures.md
  • calendar.md
  • groups
  • [-] seating chart
  • grades.md
  • assignments.md
  • 00-lambda

ieng6 Setup

  1. Set the stack-root
stack setup --stack-root=/software/CSE/cse130/.stack
  1. Create a shell script
cat > fixpaths.sh

cd ~/../public/bin && chmod -R a+rx *
cd /software/CSE/cse130/.stack && chmod -R a+rx *
  1. For each assignment,

    • git clone it to download assignment as instructor
    • stack test it to get the relevant libs added to the stack-path
    • ./fixpaths.sh to allow everyone else to read the libraries
  2. For each assignment,

    • login as student to make sure that you can git clone and then run stack test

Credits

This theme is a fork of CleanMagicMedium-Jekyll originally published by Lucas Gatsas.

About

Public course materials for UCSD CSE 130 Winter 2021

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 38.7%
  • JavaScript 19.2%
  • HTML 15.9%
  • CSS 12.9%
  • Prolog 5.6%
  • OCaml 3.2%
  • Other 4.5%