A web app to check whether followers of a given Twitter account are bots. This code is a fork of Twitter Clean-up.
If you're looking for the CLI version, it's tagged.
Copy .env.sample
as .env
and fill the environment values as necessary. I tried to use meaningful variables names, but fell free to ask here if anything is not clear.
First, we need to run migrations:
$ docker-compose run --rm django python manage.py migrate
Then we need to collect statics:
$ docker-compose run --rm django python manage.py collectstatics --noinput
Finally, create a super user for yourself:
$ docker-compose run --rm django python manage.py createsuperuser
Now access localhost:8000
and create a proper user to access the web app without super powers: all you need to do is to add just the permission to view job in the Django Admin interface.
There's a command to import data generated in the CLI, the .sqlite3
generated files:
$ docker-compose run --rm django python manage.py import /path/to/borsalino.sqlite3
Please, run tests and format your code with Black:
$ black .
$ python manage.py test