deTweet is a twitter application that cleans your profile of unwanted tweets by filtering your tweets against a database of flagged words. We make it easy for you to review and remove problematic tweets with the click of a button.
deTweet is currently being rewritten to run on the MERN stack.
Ubuntu 18.04
The below instructions need to be reworked because they are unclear.
- Clone the repo
- cd into the directory
- ./install_mysql.sh (This installs pip3 and mysqlserver) (remember your root user's password)
- ./update_tables_databases.sh (This updates the databases and tables to support full unicode)
- python3 -m venv detweet_env (This creates a virtual environment)
- source detweet_env/bin/activate (Activates the virtual environment)
- pip3 install -r requirements.txt
- Create an instance directory in the root level of the repository
- Add init.py and config.py into the directory.
- Set these as environmental variables in your shell: database_uri, twitter_api_key, twitter_api_secret, access_token, access_secret
- export FLASK_APP = detweet_app in the shell
- export FLASK_ENV = development (for debug mode)
- flask run
- check out the application on localhost:5000