- The Scraper my brake when Itslearning changes the Frontend.
- The Scraper was not tested on Accounts with many Projects, so turn the page to display more Projects is untested.
- The Scraper should be replaced with an api as soon as one becomes available.
- The frontend gets the Itslearning Account information from the user
- Using this, Django calls the Web Scraper to fetch all Projects, Resources in the Project and Discussion within the Resources
- The backend dos does not save anything long-term. Temporary cashing of user data and fetch Projects is done on a session-by-session base
- The fetch data is then served back to the frontend, where it can be viewed and filtered.
- Clone the repository on your local machine.
- Run docker build (dockerfile included in the repository)
- Start the container a port forward to 80 in the container.
- When run in production following environmental variables should be set: ALLOWED_HOSTS (IPv4 separated by ;), SECRET_KEY (str), RUN_IN_DEBUG ("1"/"0"), CSRF_TRUSTED_ORIGINS (IPv4 separated by ;)
- Install dependencies (requirements.txt in
its_learning_scraper/
and npm pacages inits_learning_scraper/frontend
) - Run in Debug using preconfigured variables in
.vscode/launch.json
- Django, django-rest-framework
- bs4, request (for the Scraper)
- React