Console utility:
- Clone the repository.
- Obtain an access token on the GitHub platform (https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token).
- Add a .env file in the root folder of the backend and include the directive TOKEN = your_token.
- Create and run the application container (do not close the tab):
- docker-compose build
- docker-compose up
- In a new tab from the project directory, run the command
docker ps
and copy the ID of the running container (container_ID). - Run the command
docker exec -it container_ID /bin/bash
. - Run the command
npm run crawler
. Note: To successfully save data to the local machine, you need to grant Docker access to the folder where MongoDB saves data. In our case, this is: /usr/local/var/mongodb
Web client:
- Follow steps 1-3 from the console application launch instruction.
- Go to http://localhost:8080/ and use the web interface to start the application.
Console utility:
- Install the npm package manager, Node.js platform, and MongoDB database in your system.
- Start MongoDB.
- Follow steps 1-3 from the containerized application launch instruction.
- From the backend folder, run the command
node service/service --crawler
(you can specify the logging level as the second parameter, for example, DEBUG or ERROR).
Web client:
- Install the npm package manager, Node.js platform, and MongoDB database in your system.
- Start MongoDB.
- Follow steps 1-3 from the containerized application launch instruction.
- From the backend folder, run the command
node service/service --server
(you can specify the logging level as the second parameter, for example, DEBUG or ERROR). - From the frontend folder, run the command
npm run serve
. - Go to http://localhost:8080/ and use the web interface to start the application.