Public course materials for UCSD CSE 230: Spring 2020
You too, can build this webpage locally, like so:
git clone [email protected]:ucsd-cse230/sp20.git
cd sp20
makeTo then update the webpage after editing stuff, do:
make uploadThe website will live in _site/.
By editing the parameters in siteCtx in Site.hs
You can view it by running
make serverEither do
make uploador, if you prefer
make
cp -r _site/* docs/
git commit -a -m "update webpage"
git push origin masterTo 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" postCtxwith
crunchWithCtxCustom "lecture" postCtxThen, 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
- calendar.md
- grades.md
- assignments.md
- lectures.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 cloneit to download assignment as instructorstack testit to get the relevant libs added to the stack-path./fixpaths.shto allow everyone else to read the libraries
-
For each assignment,
- login as student to make sure that you can
git cloneand then runstack test
- login as student to make sure that you can