GitHub Pages Troubleshooting
Breadcrumb: /github/pagesThis page debugs common issues and demonstrates common things we do in CSSE>
Troubleshooting Guide: Common Tasks
This guide covers common setup and customization tasks for your project.
Cloning a Repository
To clone a repository, use the following command (replace <url>
with the actual repository URL):
git clone <url>
Setting Up the Virtual Environment
Run the provided script to set up your Python virtual environment:
./scripts/venv.sh
Once the virtual environment is created, activate it with:
source venv/bin/activate
Ensure Ruby is installed in your virtual environment:
bundle install
Open the project in VsCode:
code .
Changing the Site Theme
To change the theme and serve the site with a new theme, run:
make serve-<newtheme>
Replace <newtheme>
with the name of the theme you want to use.
# Jokes
Run make:
```bash
make
Navigate to 127.0.0.1:4600/student/github/pages/Jokes or jupiterian.github.io/student/github/pages/Jokes. A different joke will automatically generate every time.
```