Public course materials for UCSD CSE 130: Winter 2020
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/
.
By editing the parameters in siteCtx
in Site.hs
You can view it by running
make server
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 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)
This theme is a fork of CleanMagicMedium-Jekyll originally published by Lucas Gatsas.
- Site.hs
- index.md
- links.md
- contact.md
- lectures.md
- calendar.md
- clicker groups
- clicker chart
- grades.md
- assignments.md
- 00-lambda
- Set the
stack-root
stack setup --stack-root=/software/CSE/cse130/.stack
- Create a shell script
cat > fixpaths.sh
cd ~/../public/bin && chmod -R a+rx *
cd /software/CSE/cse130/.stack && chmod -R a+rx *
-
For each assignment,
git clone
it to download assignment as instructorstack test
it to get the relevant libs added to the stack-path./fixpaths.sh
to allow everyone else to read the libraries
-
For each assignment,
- login as student to make sure that you can
git clone
and then runstack test
- login as student to make sure that you can