/emojified-tweets-wall-of-fame

A Django application that allows users emojify tweets and vote/comment on the funniest ones

Primary LanguagePythonMIT LicenseMIT

Emojified Tweets Wall of Fame 👌

Try out our application here!

😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂

logo

😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂

Emojified Tweets Wall of Fame is a completely pointless app. It is a Django application that allows users to emojify tweets via our `twitter-emojify-api` Flask API, submit the results, and vote on the funniest submissions.

How it works

Wall of Fame

The Wall of Fame is a collection of the top 10 most highly voted emojified tweets. The view is a fluid carousel which is admittedly pretty fun to just scroll through.

mainpage

Wall of Shame

The Wall of Shame is the same thing as the Wall of Fame, but backwards. It's a collection of the worst 10 emojified tweets. You should be ashamed if one of your submissions ends up on this wall, or we should be ashamed for not having enough users to submit emojified tweets.

Emojifying Tweets

If you want to emojify some tweets yourself, just head to the 'Emojify Tweets' page:

emojifypage

Enter the @ of the person's Twitter account that you want to emojify in the upper box. In the box under, enter the number of tweets you would like to emojify. The app will then emojify the most recent tweets of the person you specified.

For example, I entered the following:

joebiden

5

Once you press the button, you will be given a preview of the tweets and the tweets will be submitted for everyone's viewing. Here's what I got:

preview

Beautiful stuff.

Setting up locally

Setting up virtual environment

Prior to starting, ensure you are on Python3 and that you have pip installed.

For Windows

Run the following commands to create a virtual environment called 'venv':

$ python -m venv venv
$ venv\Scripts\activate.bat
For Mac

Run the following commands to create a virtual environment called 'venv':

$ python3 -m venv venv
$ source venv/bin/activate
For both

You should see (venv) at the left of the shell prompt if done correctly.

To stop the virtual environment, simply run:

$ deactivate

Installing packages

To install the required packages, run:

$ pip install -r requirements.txt

To set up the pre-commit hooks, install the packages as shown above then run:

$ pre-commit install

Making migrations

If you made changes to any schemas or added any new tables, make sure to create migration files with:

$ python manage.py makemigrations

Running the app

To run migrations, run:

$ python manage.py migrate

To start the Django app, run:

$ python manage.py runserver