Skip to content

GeTXT: Data Text Fetching and Cleaning System using Tweepy API and MongoDB Depaly on Heroku | Python3

License

Notifications You must be signed in to change notification settings

suyashgupta52/GeTXT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeTXT: Data Text Fetching and Cleaning System using Tweepy API and MongoDB Depaly on Heroku | Python3

To deploy directly

  1. Fork this repo
  2. Go to Heroku Account
  3. Connect your Repo
  4. Go to Setting tabb and Under Config Vars click on Reveal Config Vars then add environ as per var.py
'key' => 'Value'
'C_KEY' => ' ' 
'C_SEC' => ' '
'A_TOKEN' => ' '
'A_SEC' => ' '
'MONGO_URI' => ' '
  1. Deploy the main Branch
  2. Once Build Success
  3. Goto Overview =? Dyno formation => Configure Dynos => Free Dynos and Start the switch.
  4. Go to More => View Log to check log.

How to run on Local

  1. Clone this Repo

  2. Make a key.py file in root dir for connecting database and Tweepy API(If want to push Record to Database)

  3. Key.py File format

    # Tweepy Cunsumer Key
    _consumer_key = ""
    _consumer_secret = ""
    # Tweepy Auth Key
    _auth_token = ""
    _auth_secret = ""
    # Mongo DB URI
    _mongo_uri = ""
  1. Go to var.py and "_deployment_env = False"

  2. Activate a virtual env

pip install virtualenv
virtualenv env
env\Scripts\activate
  1. Install Requirements by Running
pip install -r requirements.txt
  1. Run
py app.py
  1. Press Ctrl + c to stop the System Manually.

  2. Once All Done. To close Virtual env:

deactivate

This source code is licensed under the GPL-style license found in the LICENSE file in the root directory of this source tree.

About

GeTXT: Data Text Fetching and Cleaning System using Tweepy API and MongoDB Depaly on Heroku | Python3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%