This app scrapes products from Pyroland and stores them in a database. The user is then able to inspect the products in detail and to rate them. After rating the user profits from a powerful search engine that enables complex search queries against the database.
- Clone this repository.
git clone https://github.com/CR1337/firework-rating.git
cd
into the directory.
cd firework-rating
- Create virtual environment and activate it.
python3 -m venv .venv
source .venv/bin/activate
- Install python dependencies.
pip3 install -r requirements.txt
- Install node dependencies.
cd frontend
npm install
cd ..
- Install ffmpeg (for the product videos).
apt update
apt install ffmpeg
- Scrape Pyroland to get new products and update already scraped products.
bin/scrape
- Create product plots. These show product statistics in comparisons to other products.
bin/create_plots
- Download product videos. This enables playback of highest quality videos. An embedded youtube doesn't play on highest quality. Depending on YouTubes rate limiting the download may get stuck some times. Just restart until all videos are downloaded.
bin/download_videos
- Start the app.
bin/run
- Open the app at http://localhost:5173.