805 B
805 B
ryobi-crawler
Project start
- Clone repository using
git clone https://git.techtube.pl/krzysiej/ryobi-crawler.git - Cd into project directory
cd ryobi-crawler - Build and start docker container
docker compose up -d - Run
docker compose exec php-app php console.php app:migratefile to createdatabase.sqliteand create tables. - Run
docker compose exec php-app php console.php app:scrapecommand to scrape all the products from the ryobi website. - Access web interface using
localhost:9000address in web browser.
Update project
- Cd into project directory
- Run
git pull - Start and build image in one go with command:
docker compose up -d --build --force-recreate
