Skip to content
This repository has been archived by the owner on Aug 19, 2018. It is now read-only.

rduplain/sched

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sched: Example Application for Packt's 2013 Flask book by Ron DuPlain

To run this project, create a virtualenv with Python 2.7 or Python 3.3+ as described in the first section of the book, activate that virtualenv, then set up your application with these commands:

pip install -r stable.txt
python manage.py create_tables

Create a user in the Python shell:

python manage.py shell

By executing this Python code in the interactive interpreter:

from sched.app import db, User
user = User(email='you@example.com', password='secret')
db.session.add(user)
db.session.commit()

Start the development server with:

python manage.py runserver

Point your web browser to http://localhost:5000/appointments/. Login with authentication credentials you used when creating the user.

Flask Web Development by Ron DuPlain through Packt, 2013: http://www.packtpub.com/flask-web-development/book

See the Flask mailing list discussion for context.

About

Source code for Flask Web Development book (Packt 2013).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages