- Prestashop v1.7.8
- MariaDB
- Docker
- Python
- Scrapy
- Selenium
Run commands in order in directory of ForfitScraper:
scrapy crawl category -O ../scrapped_data/categories.json
scrapy crawl alco -O ../scrapped_data/products.json
python download_photos.py
Commands are also in run.ps1 Windows Powershell file.
To ensure all components running smoothly, first run chmod in the main directory.
sudo chmod -R 777 shop-src
Next, initialize the Docker container. Navigate to shop-config directory and run:
docker-compose build
docker compose up
After booting the container, you can access the shop website at:
https://localhost/
To make changes to the website, navigate to the admin panel and log in using the correct credentials.
https://localhost/admin4577/
Run command in directory of tests:
python main.py
Run commands in order in directory of Presta-Forfiter:
./export_scripts/save_db.sh
./export_scripts/load_db.sh
Run command in directory of PrestaAPI:
python main.py
Run command in WSL with ETI VPN on:
ssh -L 18885:student-swarm01.maas:18885 [email protected]
- Szymon Lider
- Sebastian Kutny