-
Notifications
You must be signed in to change notification settings - Fork 10
Setting Up Website Development
Follow these instructions to get the Spring Carnival Website running locally on your computer for testing and development!
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 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
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.