you need to have the following installed:
- Docker
- Clone the repository
- Run
docker-compose up --build -din the root directory of the project - The application will be available at
localhost:8080 - Rabbitmq Admin available at
localhost:15672/. login with guest/guest credentials
- run
bash start.shin the root directory of the project. This will create the database and tables
-
run
docker-compose run app php bin/console messenger:consume async -vvto start worker. -
run the command
docker-compose run app php bin/console app:start-parsing-news --url=''to start parsing news. The url is the url of the news site you want to parse. The url should be in the formathttps://www.example.com -
by default, the application will parse the news from
https://highload.today/category/novosti/. -
Go to
localhost:8080/login -
Login with
john_admin/passwordcredentials for admin user -
Login with
john_moderator/passwordcredentials for moderator user -
run the command
php bin/console app:start-parsing-news