Skip to content

Setting Up Website Development

Joe McLaughlin edited this page Jan 29, 2025 · 2 revisions

Follow these instructions to get the Spring Carnival Website running locally on your computer for testing and development!

Install Necessary Dependencies

The website uses SSI (Server-Side Includes) to improve code modularity, and this is achieved locally with ssi_server.py. Thus, Python 3 is required to run the website locally, and can be downloaded at https://www.python.org/downloads/.

Additionally, git is used to download the code from this repository. Instructions to install git can be found at https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

Fork and clone the Binder repository on Github

Fork Binder using the "Fork" Button in the top right of the Github screen, and clone your forked repository

git clone https://github.com/link_to/your_website

Run the Website Locally

After cloning the repository, start the website locally by simply running

python3 ssi_server.py

in the terminal from the directory the website was cloned into. Note that if you get a "Permission Denied" error, you may need to run chmod +x ssi_server.py and try again.