- CSC uses Apache
- the .htaccess in sesoc/www folder is needed. Please don't clear the directory, otherwise you need to make a new .htaccess file within sesoc/www with the following contents:
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]
- login to any CSC server
- cd to the sesoc's subdirectory in users
become_club sesoc
cd public-website
./deploy.sh
(and follow any instructions given)- done!
- login to any CSC server
- cd to the sesoc's subdirectory in users
become_club sesoc
cd public-website
git pull
(may need to login with github credentials)npm install
npm run build
cp -r build/* ../www
- done!