Update README.md, remove migration.php, add message to browser.php

This commit is contained in:
Krzysztof Płaczek
2024-10-12 12:48:15 +02:00
parent 39e0262036
commit 2842ad1b2e
4 changed files with 11 additions and 52 deletions

View File

@@ -2,5 +2,9 @@
## Project start
1. Run `migration.php` file to create `database.sqlite` and create tables.
2. Run `php index.php app:scrape` command to scrape all the products from the ryobi website.
1. Clone repository using `git clone https://git.techtube.pl/krzysiej/ryobi-crawler.git`
2. Cd into project directory `cd ryobi-crawler`
3. Build and start docker container `docker compose up -d`
4. Run `docker compose exec php-app php index.php app:migrate` file to create `database.sqlite` and create tables.
5. Run `docker compose exec php-app php index.php app:scrape` command to scrape all the products from the ryobi website.
6. Access web interface using `localhost:9000` address in web browser.