Make it easier to run the example by creating the tables on start.

Fixes #35
diff --git a/.gitignore b/.gitignore
index f1ab549..756cf1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 .DS_Store
+*.db
 *.pyc
 *.pyo
 env
diff --git a/ChangeLog b/ChangeLog
index 18cbb5f..e329469 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1.2.3 (2014-10-??)
+------------------
+
+New
+~~~
+
+- Make it easier to start the example by removing init_db. [Patrick Uiterwijk]
+
+
 1.2.2 (2014-04-26)
 ------------------
 
diff --git a/example/README b/example/README
index f06726a..c5299b5 100644
--- a/example/README
+++ b/example/README
@@ -1,8 +1,3 @@
 This folder contains a very basic example for OpenID integration.
-Remeber you need to create the database first:
 
-$ python
->>> import example
->>> example.init_db()
-
-Before running the project.
+You can just run "python example.py" (after you installed flask-openid).
diff --git a/example/example.py b/example/example.py
index 24f5616..76967f5 100644
--- a/example/example.py
+++ b/example/example.py
@@ -23,7 +23,7 @@
 # setup flask
 app = Flask(__name__)
 app.config.update(
-    DATABASE_URI = 'sqlite:////tmp/flask-openid.db',
+    DATABASE_URI = 'sqlite:///flask-openid.db',
     SECRET_KEY = 'development key',
     DEBUG = True
 )
@@ -33,8 +33,8 @@
 
 # setup sqlalchemy
 engine = create_engine(app.config['DATABASE_URI'])
-db_session = scoped_session(sessionmaker(autocommit=False,
-                                         autoflush=False,
+db_session = scoped_session(sessionmaker(autocommit=True,
+                                         autoflush=True,
                                          bind=engine))
 Base = declarative_base()
 Base.query = db_session.query_property()
@@ -173,4 +173,5 @@
 
 
 if __name__ == '__main__':
+    init_db()
     app.run()