Skip to content

dvdhpkns/swautocheckin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SW Auto-Checkin

Automatically checkin to southwest flights 24 hours prior to flight time and get an A Group boarding pass.

Setup

Create a virtualenv

virtualenv venv
source venv/bin/activate

Install requirements

pip install -r requirements.txt

Install redis

brew install redis

Start redis

# You can also configure launchd to start redis on login
redis-server /usr/local/etc/redis.conf 

Sync DB

./manage.py migrate 

Add local host to sites

python manage.py shell

# add a new site to sites - the ID of this should match the SITES value in settings
from django.contrib.sites.models import Site
new_site = Site.objects.create(domain='localhost:8000', name='localhost')

Gmail is used to send emails when things go wrong. To make this work you must add your gmail username and password to your path

export GMAIL_PASSWORD='my_pass'
export GMAIL_USER='[email protected]'

Running

Run the Django server

./manage.py runserver

Start Celery

celery -A swautocheckin.tasks worker --loglevel=info

Running with Foreman

Alternatively, you can start both the server and Celery using foreman

foreman start -p 8000

About

Django app to automatically check users into Southwest flights

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published