Skip to content

Setting up repository

Simon Seo edited this page Nov 17, 2018 · 4 revisions

First things first

  1. Clone repo

For the DB server, Scrapper, Duo authenticator

  1. Go into the directory and setup virtualenv python3 -m venv . or virtualenv .
  2. Download chrome webdriver and put into virtualenv's bin/ folder.
  3. pip3 install -r requirements.txt
  4. Make new QR code in start.nyu.edu > MFA settings > add new device
  5. copy + paste the QR code address into terminal: python3 spammer/duo/duo.py https://api-blahblahblabh.duosecurity.com/frame/qr?value=blahblah-blahblah this creates secrets.json in Duo directory.
  6. duplicate secrets.example.py as secrets.py and save your NYU credentials
  7. Run DB server by going into flask/ and run python3 flaskapp.py
  8. Run Scrapper by going into spammer/scrapper/ and run python3 scrapper.py

For Facebook Chatbot server

  1. ??? Maybe install npm packages
  2. Install ngrok and optionally, sign up on their website to get unlimited hours

For Facebook Chatbot Frontend

  1. Create a FB page
  2. ???