The aim of this project is to collect available comments about specified hotel from accommodation providers.
Next bunch of the newest comments are analyzed with sentiment and based on that the score of positive side is calculated.
- Run application:
make start-flask
- Wait until docker is build and up and go to:
http://localhost:5000/home
OR DEVELOPMENT PURPOSES:
- Create network:
docker network hotel_review
- Build application:
docker-compose build
- Run application
docker-compose upormake start-flask
- Run tests:
make testordocker-compose run --rm hotel_reviewer py.test /app/tests
- Run tests with debug and last failed flag:
make test-debugordocker-compose run --rm hotel_reviewer py.test /app/tests -s -vv --lf
- Run flake8:
make test-flake8ordocker-compose run --rm hotel_reviewer flake8 .
- Run python code formatter
make black
- Feature branch name must pass the regex formula:
/\d+\-[feature|bug]+\/.+/
- All branches must pass circle-ci tests before merge to master branch
- Only squash and merge is accepted way of merging to master

