-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Instead of having different records, all files now reside under one record. * removed accounts and requirement to login * added setup and teardown scripts * register records_ui blueprint properly * moved temporary files where they belong * Co-authored-by: Francois Decourcelle <francois.decourcelle@cern.ch>
- Loading branch information
Showing
20 changed files
with
114 additions
and
410 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,32 @@ | ||
#!/bin/sh | ||
|
||
# quit on errors: | ||
set -o errexit | ||
|
||
# quit on unbound symbols: | ||
set -o nounset | ||
|
||
DIR=`dirname "$0"` | ||
|
||
cd $DIR | ||
export FLASK_APP=app.py | ||
|
||
pip install -r requirements.txt | ||
|
||
./app-teardown.sh | ||
|
||
# Create the database | ||
flask db init | ||
flask db create | ||
|
||
flask npm | ||
|
||
cd static | ||
npm install | ||
cd .. | ||
|
||
flask collect -v | ||
flask assets build | ||
|
||
flask fixtures | ||
flask run |
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,15 @@ | ||
#!/bin/sh | ||
|
||
# quit on errors: | ||
set -o errexit | ||
|
||
# quit on unbound symbols: | ||
set -o nounset | ||
|
||
DIR=`dirname "$0"` | ||
|
||
cd $DIR | ||
export FLASK_APP=app.py | ||
|
||
flask db destroy --yes-i-know | ||
rm -rf temp/ static/ test.db |
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 was deleted.
Oops, something went wrong.
Empty file.
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,3 @@ | ||
Year,Make,Model | ||
1997,Ford,E350 | ||
2000,Mercury,Cougar |
File renamed without changes
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,3 @@ | ||
{ | ||
"hello": "json" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
invenio-access==1.0.0 | ||
invenio-db==1.0.0 | ||
invenio-access>=1.1.0 | ||
invenio-accounts>=1.1.0 |
Oops, something went wrong.