mirror of
https://github.com/Cian-H/am-d-model-data-repository.git
synced 2025-12-22 22:11:56 +00:00
First commit
This commit is contained in:
1
site/.gitkeep
Normal file
1
site/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
# This file exists only to add am_d_model_data_repository/ folder to git repository.
|
||||
0
site/am_d_model_data_repository/__init__.py
Normal file
0
site/am_d_model_data_repository/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# This file exists only to add js/ folder to git repository.
|
||||
@@ -0,0 +1 @@
|
||||
# This file exists only to add less/ folder to git repository.
|
||||
@@ -0,0 +1 @@
|
||||
# This file exists only to add templates/ folder to git repository.
|
||||
17
site/am_d_model_data_repository/views.py
Normal file
17
site/am_d_model_data_repository/views.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""Additional views."""
|
||||
|
||||
from flask import Blueprint
|
||||
|
||||
#
|
||||
# Registration
|
||||
#
|
||||
def create_blueprint(app):
|
||||
"""Register blueprint routes on app."""
|
||||
blueprint = Blueprint(
|
||||
"am_d_model_data_repository",
|
||||
__name__,
|
||||
template_folder="./templates",
|
||||
)
|
||||
|
||||
# Add URL rules
|
||||
return blueprint
|
||||
16
site/am_d_model_data_repository/webpack.py
Normal file
16
site/am_d_model_data_repository/webpack.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""JS/CSS Webpack bundles for AM-D-Model Data Repository."""
|
||||
|
||||
from invenio_assets.webpack import WebpackThemeBundle
|
||||
|
||||
theme = WebpackThemeBundle(
|
||||
__name__,
|
||||
"assets",
|
||||
default="semantic-ui",
|
||||
themes={
|
||||
"semantic-ui": dict(
|
||||
entry={
|
||||
# Add your webpack entrypoints
|
||||
},
|
||||
),
|
||||
},
|
||||
)
|
||||
3
site/pyproject.toml
Normal file
3
site/pyproject.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel", "babel>2.8"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
13
site/setup.cfg
Normal file
13
site/setup.cfg
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
[metadata]
|
||||
name = am-d-model-data-repository
|
||||
|
||||
[options.extras_require]
|
||||
tests =
|
||||
pytest-invenio>=2.1.0,<3.0.0
|
||||
|
||||
[options.entry_points]
|
||||
invenio_base.blueprints =
|
||||
am_d_model_data_repository_views = am_d_model_data_repository.views:create_blueprint
|
||||
invenio_assets.webpack =
|
||||
am_d_model_data_repository_theme = am_d_model_data_repository.webpack:theme
|
||||
3
site/setup.py
Normal file
3
site/setup.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup()
|
||||
1
site/tests/.gitkeep
Normal file
1
site/tests/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
# This file exists only to add templates/ folder to git repository.
|
||||
Reference in New Issue
Block a user