/epfl-coursenet-api

Web Scraper & API for the EPFL CourseNet

Primary LanguagePythonMIT LicenseMIT

EPFL CourseNet API

Web Scraper & API for the EPFL CourseNet

Setup and installation

Set up virtual environment:

python -m venv ./py/env
pip install wheel setuptools

Activate virtual environment (Windows):

.\py\env\Scripts\activate

Install dependencies (when virtualenv is activated)

pip install -r requirements.txt

Install package in site-packages directory: Note: This happens automatically when above line is run and ./py is in requirements.txt

python setup.py install --user

Run local redis server after installing it to your system

redis-server

Run redis server and Node app in parallel

npm run dev

Run the following in your activated environment to connect the environment to Jupyter notebook:

pip install ipykernel
python -m ipykernel install --user --name=coursenet-env