osome-iu / hoaxy-backend

Backend component for Hoaxy, a tool to visualize the spread of claims and fact checking
http://hoaxy.iuni.iu.edu/
GNU General Public License v3.0
138 stars 44 forks source link

Python3 Deployment #29

Closed ZacMilano closed 5 years ago

ZacMilano commented 5 years ago

After the transition to Python3:

glciampaglia commented 5 years ago

There may be other people we are not aware of running their own installations; we should probably document in the README the upcoming change, since the new code is likely not going to be compatible with Python 2 anymore.

filmenczer commented 5 years ago

I moved the documentation tasks from issue #20 to here.

ZacMilano commented 5 years ago

We're ignoring this error for now because now it's a warning instead of an error, and we assume it's OK to skip pages with certificate errors.

'Remote certificate is not valid for hostname "104.238.181.150"; Invalid DNS pattern b'104.238.181.150''

chathuriw commented 5 years ago

@filmenczer There are no unnecessary directories in truthy home as I can see. I clean up conda environment which took most of the space.

[truthy@burns ~]$ du -s * | sort -nr 7518352 miniconda3 642524 pylucene 626248 java 496336 code 113524 node_modules 108252 botometer-database 85340 nltk_data 4752 hoaxy-python3 452 2018-07-01.json 192 crontabs 60 hs_err_pid9349.log 60 hs_err_pid8111.log 60 hs_err_pid6872.log 60 hs_err_pid6506.log 60 hs_err_pid572.log 60 hs_err_pid5632.log 60 hs_err_pid5181.log 60 hs_err_pid4001.log 60 hs_err_pid31732.log 60 hs_err_pid30882.log 60 hs_err_pid29809.log 60 hs_err_pid28588.log 60 hs_err_pid27393.log 60 hs_err_pid2723.log 60 hs_err_pid22653.log 60 hs_err_pid21925.log 60 hs_err_pid21658.log 60 hs_err_pid20374.log 60 hs_err_pid18444.log 60 hs_err_pid17394.log 60 hs_err_pid1723.log 60 hs_err_pid16904.log 60 hs_err_pid15690.log 60 hs_err_pid14593.log 52 package-lock.json 44 redis-celery 44 cronjobs 32 auth.iuni.iu.edu 16 pgbouncer 16 botometer-csr 8 2018-07-01-messages.json 4 truthy.keytab 4 test.py 4 README 4 pycache 4 pg_hoaxy.sh 4 ips.txt 0 truthy-website 0 nohup.out 0 hoaxy-frontend 0 hoaxy-backend 0 botometer-website 0 bei

filmenczer commented 5 years ago

@filmenczer will take care of communicating the update as soon as

marcmccarty commented 5 years ago

@filmenczer will communicate/advertise about new (Python3) version and AMI: see instructions at https://github.com/IUNetSci/hoaxy-backend#hoaxy-backend-as-aws-image-ami