from flask import Flask
import httplib2
import json

from portal.database import Database

__author__ = 'Globus Team <info@globus.org>'

httplib2.debuglevel = 4

app = Flask(__name__)
app.config.from_pyfile('portal.conf')

database = Database(app)

with open(app.config['DATASETS']) as f:
    datasets = json.load(f)

# Full working portal
# import portal.views
# import portal.views_graph

# Exercise 1
# import portal.views_ex1
# import portal.views_graph_ex1

# Exercise 2
import portal.views
import portal.views_graph_service_ex2

from flask import Flask
import httplib2
import json

from portal.database import Database

__author__ = 'Globus Team <info@globus.org>'

httplib2.debuglevel = 4

app = Flask(__name__)
app.config.from_pyfile('portal.conf')

database = Database(app)

with open(app.config['DATASETS']) as f:
    datasets = json.load(f)

# Full working portal
import portal.views
import portal.views_graph

# Exercise 1
# import portal.views_ex1
# import portal.views_graph_ex1

# Exercise 2
#import portal.views
#import portal.views_graph_service_ex2

Reset default views