Office-Stapler / stupidsearch

A simple website that searches UNSW courses based on the Flask Backend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stupidsearch

A simple website that searches UNSW courses based on the Flask Backend.

How it works

The website calls fetch requests to the backend, where all the courses are stored. Then the backend will scrape UNSW's Handbook to collect information about the course.

Set up

To start, clone the repo into a folder

git clone git@github.com:Office-Stapler/stupidsearch.git {folder name}

Then make your virtual environment with either venv or virtualenv,

python3 -m venv {virtual enviroment name}

or

python3 -m virtual env {virtual environment name}

The usual name for the virtual environment is venv. After making your virual environment, you will need to activate it with:

source venv/bin/activate

You should notice the virtual environment name to the left of the terminal. Then you can run the requirements.txt, which the server needs to run.

pip3 install -r server/requirements.txt

After finishing you can deactivate the virtual environment with:

deactivate

Then run the server.py in the server folder. After the server is up, you open index.html

About

A simple website that searches UNSW courses based on the Flask Backend.


Languages

Language:JavaScript 41.0%Language:Python 40.8%Language:CSS 12.3%Language:HTML 6.0%