Official CS196 Website: cs196.cs.illinois.edu
Updated website written in Angular
- Navigate to
official-website/frontend/src/assets/
directory - Edit the
lectures.json
file - Deploy
To deploy on the server, get access to the cs196.cs.illinois.edu
Ubuntu server. SSH into <NetID>@cs196.cs.illinois.edu
(Note that you need to be connected to IllinoisNet or VPN).
The website is deployed using Apache2 HTTP Server
on the Ubuntu 16.0.4 server. Do the following steps:
- Run
git pull
for the latest changes made locally or just edit the files here on the server. - Run
sudo ./deploy
. Check website to make sure changes are live (may take a few seconds)
Website SSL Certificate is managed by LetsEncrypt.
If the deployment script does not work, do the following:
- Run
git pull
for the latest changes - Run
ng build --prod
in the frontend directory. This will produce a production build of the website in the./dist
directory. - Copy all the files within
./dist/website2020
and paste them into/var/www/html
. Delete everything in/var/www/html
except the.htaccess
file - Restart the apache server:
sudo service apache2 restart
If non home urls aren't working (e.g. cs196.cs.illinois.edu/staff or cs196.cs.illinois.edu/resources): solution
Install Ranger for fast terminal navigation: pip install ranger-fm
. This may be helpful copying and pasting multiple files