It tells you who's been naughty or nice.
#Dependencies
##Python
Make sure you have Python on your computer. The following two commands should work:
python --version
pip --version
##virtualenv
Virtualenv makes it possible to install multiple Python environments on one computer; including installing a Python environment just for this project.
Flask installation with virtualenv notes
pip install virtualenv
pip install virtualenvwrapper
git clone https://github.com/wbushey/santaclaus.git
cd santaclaus
virtualenv env
cd santaclaus
git pull
source env/bin/activate
pip install -r requirements.txt
./run.py
Visit http://localhost:5000/?name=YOURNAME
Or, see it online at http://claus.io/?name=YOURNAME
With no configuration, the Santa Claus API will create and use a SQLite
database in santa.db
. If you have a Postgres database ready to use, you can
configure the Santa Claus API to use it by setting the $DATABASE_URL
to the
URL of the Postgres instance.
#Resources