singh1114 / schedule-tweet

Django based scheduler of tweets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

schedule-tweet

Django based scheduler of tweets

How to install and set it up for yourself

Clone the repo

The first step is to clone the repo.

https://github.com/singh1114/schedule-tweet

git clone git@github.com:singh1114/schedule-tweet.git

Install the requirements

cd schedule-tweet

Turn on the virtualenv and install the requirements

pip install -r requirements.txt

Run migrations to set up the database

cd scheduletweet
python manage.py migrate

Create a super user

python manage.py createsuperuser

Export the creds

Read this post to get your creds.

export CONSUMER_KEY="#"
export CONSUMER_SECRET="#"
export ACCESS_TOKEN="#"
export TOKEN_SECRET="#"

You have to keep exporting them whenever you open a new shell window or you can use direnv to make your life easier.

Run the server

python manage.py runserver

Open the admin window and schedule a tweet after sometime

Visit http://127.0.0.1:8000/admin to login with superuuser creds and twitterschedulermodel to create a new scheduled tweet.

About

Django based scheduler of tweets

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 100.0%