-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* BETTER Adds posibility to disable automatic entry points loading or specify custom entry point group name. * Enables matrix for testing SQLite, MySQL, Postgre on Travis CI. * Improves code style and test coverage. Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
- Loading branch information
1 parent
fd636b0
commit 5b1ae49
Showing
7 changed files
with
78 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import os | ||
|
||
from flask import Flask | ||
from flask_cli import FlaskCLI | ||
from flask_sqlalchemy import SQLAlchemy | ||
|
||
from invenio_db import InvenioDB | ||
|
||
app = Flask('demo') | ||
app.config['SQLALCHEMY_DATABASE_URI'] = os.environ.get( | ||
'SQLALCHEMY_DATABASE_URI', 'sqlite:///test.db' | ||
) | ||
FlaskCLI(app) | ||
InvenioDB(app) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters