This repository contains the code for the lab's website hosted on Github pages and can be accessed at https://cuadvancelab.github.io
- Bootstrap. Learn bootstrap. Boostrap is used for fast styling to avoid styling things like buttons from scratch.
- Images in the about page should have a size of 215 x 190 to save website size and load time
- Image background should be removed to maintain consistency
- Files in the instructions folder should be named using the same pattern (e.g lab1_instructions_cs or lab1_instructions_non_cs) to maintain consistency
This website is hosted on Github pages Here is a short guide
- Fork this repository
- Clone the forked repo to get a local copy on your system
- Cd into the repo
- From your web browser open the
index.html
or start a simple python3 server withpython3 -m http.server
in the project directory - Check the branch you are on:
git branch
- Create a new branch to work on your changes:
git branch <branch name>
- Switch to the new branch:
git checkout <branch name>
- Make your changes, you have to refresh the page to see your changes
- Check files that have changed:
git status
- Add changed files:
git add <file>
orgit add -A
- Commit changes:
git commit -m "your message"
- Push changes to your forked repo:
git push
- Go back to your repository where you created your fork and follow the instructions on github to create a pull request (PR). Note, the 'head branch' should be the branch you made your changes in (the branch you created above). The 'base branch' should be 'main'. Don't forget to add a little description of your changes. Code maintainers will review the changes and merge it, if you are a collaborator you can review and merge immediately.
- Once merged, the changes should reflect on the website
Note: On subsequent changes, you have this repo already in your local machine and a fork on your github repository. To keep the forked repository up to date with the original repository, follow these instructions