Skip to content

Latest commit

 

History

History
90 lines (63 loc) · 1.74 KB

File metadata and controls

90 lines (63 loc) · 1.74 KB

Sherlock2.0

Fake News Detection Web App using Recurrent Neural Networks.

Installation

  • Clone the repo and change directory:
git clone https://github.com/soumyankar/Sherlock2.0.git
cd Sherlock2.0/
  • [IMPORTANT] Initialize a virtualenv and activate.
    As an additional check make sure that your console reads the virtualenv label as Sherlock2.0 after activating.
virtualenv -p python3 ./
source bin/activate
  • Install necessary packages for the flask application
pip install -r requirements.txt
  • Test run the application!
flask run

Head over to http://127.0.0.1:5000/ on your favourite browser.

Contributing

  • Fork the repo first.

  • Clone the repo and change directory:

git clone https://github.com/soumyankar/Sherlock2.0.git
cd Sherlock2.0/
  • Make changes to the code and submit a PR!
git add -A
git commit -m "Super cool feature added"
git push origin master

Now you can submit a PR! Remember to change the requirements.txt file in case you make any changes to the package managers. You can do this by:

pip freeze > requirements.txt

Troubleshooting

In case you do not have virtualenv installed have a look down below.

Linux

# Debian, Ubuntu
$ sudo apt-get install python-virtualenv

# CentOS, Fedora
$ sudo yum install python-virtualenv

# Arch
$ sudo pacman -S python-virtualenv

Mac OS X or Windows

$ sudo python2 Downloads/get-pip.py
$ sudo python2 -m pip install virtualenv

On windows as administrator

> \Python27\python.exe Downloads\get-pip.py
> \Python27\python.exe -m pip install virtualenv

Now you can return to the Installation Notes to continue.