The core landing page website for ULAB, built with Flask/CSS.
Make sure you're using a virtual environment, to maintain consistency in package versions.
$ pip3 install --user -r requirements.txt
$ python3 main.py
Make sure to check your local server when making changes before pushing to production! To push changes to production:
- Pull GitHub files (git clone https://github.com/undergrad-lab-at-berkeley/website.git)
- Make changes
- Test changes locally
- Push to GitHub ("git add " or "git add *" to add everything)
- SSH to server with:
ssh ulab@apphost.ocf.berkeley.edu
- See credential info and other VERY IMPORTANT information here: https://docs.google.com/document/d/1lwv4SWmI5_76DveJEai9_hve2NqTfYH4dLPCtza9ny4/edit
- Pull the changes to the server
- Restart the app
Note: steps 7 and 8 run . deploy
in myapp.
(PPT can be found here: https://docs.google.com/presentation/d/1N9LT0mU1cIaF6q2hzRPUgo6TFAvye9zHupHPgBvRCmc/edit?ts=5b4d6634#slide=id.g326e5cd416_0_180)
To check for Non-ASCII characters: https://pages.cs.wisc.edu/~markm/ascii.html
Sign in to the Berkeley google account and do the steps below
- Go to calendar/google.com :right_arrow: settings sign (top right) :right_arrow: settings
- On the left, click on the calendar you are going to integrate.
- Scroll down to the iframe version and click customize.
- Change settings if necessary and send the html code.
- Member dashboard
- Automate onboarding