The Lottery Hedging System Usage Guide sudo /etc/init.d/postgresql restart psql -h localhost -U postgres postgres -c "CREATE DATABASE lottery;" python manage.py runserver 0.0.0.0:9003