Bez popisu

Mohidul Islam bd1f162ef4 filtered only Signaturecare reviews for automatic reply před 2 roky
analytics b051cf4c26 added yelp data to weekly analytics mail body před 4 roky
dashboard 72112b06fd Separate view added for entrust reviews před 2 roky
facebook_app 1f0b2eb4a1 Added delete functionality for facebook/google reviews před 3 roky
gauth 6390131c51 add columns to location and reply model před 2 roky
manager 08775f8f49 added login required for review analysis view před 3 roky
media cf6c505575 added word cloud to manager review list page před 4 roky
name_extractor 79437a1a3f Remove yelp před 4 roky
nlu_job 72112b06fd Separate view added for entrust reviews před 2 roky
review bd1f162ef4 filtered only Signaturecare reviews for automatic reply před 2 roky
review_automation 2d70dd22c7 Added graph to location lists před 3 roky
static 3a9ac3df7b add weekly review summary on location page před 3 roky
static_root 9d90886dc5 shown all replies to the frontand před 5 roky
user 77c42751b2 added yelp graphs in manager dashboard před 4 roky
yelp 07fb27a1c8 Chage yelp review class před 3 roky
.gitignore cf6c505575 added word cloud to manager review list page před 4 roky
README.md 8d6d46db79 Structure settings and wsgi for development and production environment před 5 roky
client_secrets.json 575b45840a Change the client_secret.json file with mybusiness secret info před 5 roky
manage.py c2f3d7d8c6 Fixes an existance issue před 5 roky
requirements.txt fcb021bbbd changed yelp scrapper library beautifulsoup to mechanicalsoup před 4 roky
review_automation.sql 57b948649d filter comment before storing před 4 roky

README.md

Byte Trek Reputation Management

Installation:

1. Clone The reporsitory

➜  git clone http://bytetrek.com:30000/ByteTrek-Projects/review-automation-backend.git

2. Create a virtual environment and active it.

➜  python3 -m venv env
➜  source env/bin/activate

3. Create a mysql database and import the .sql file

(env) ➜  mysql -u root -h localhost -p                 # mysql -u user -h host -p
mysql> CREATE DATABASE review_automation;
mysql> SHOW DATABASES;                                 # Make sure database is created or not.
exit                                                   # Exit out of the mysql prompt
(env) ➜  mysql -u root -p review_automation < review_automation.sql
# Make sure everything is just fine.
(env) ➜  mysql -u root -h localhost -p
mysql> USE review_automation;
mysql> SHOW TABLES;

4. Run the development server

(env) ➜ python manage.py runserver --settings=review_automation.settings.dev

5. Add all corn jobs

(env) ➜ python manage.py crontab add --settings=review_automation.settings.dev
# Make sure corn job has added successfully
(env) ➜ crontab -l                                     # Return list of cronjobs

6. Some usefull management command

  • Store all un-recorded reviews to the database.

    (env) ➜ python manage.py collect_reviews --settings=review_automation.settings.dev
    
    • Get model prediction report.

      (env) ➜ python manage.py model_report n_days
      # Example for last 30 days:
      (env) ➜ python manage.py model_report 30 --settings=review_automation.settings.dev