First commit

This commit is contained in:
EC2 Default User
2025-01-27 15:21:57 +00:00
commit 607f72659d
49 changed files with 791219 additions and 0 deletions

1
site/.gitkeep Normal file
View File

@@ -0,0 +1 @@
# This file exists only to add am_d_model_data_repository/ folder to git repository.

View File

@@ -0,0 +1 @@
# This file exists only to add js/ folder to git repository.

View File

@@ -0,0 +1 @@
# This file exists only to add less/ folder to git repository.

View File

@@ -0,0 +1 @@
# This file exists only to add templates/ folder to git repository.

View 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

View 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
View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel", "babel>2.8"]
build-backend = "setuptools.build_meta"

13
site/setup.cfg Normal file
View 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
View File

@@ -0,0 +1,3 @@
from setuptools import setup
setup()

1
site/tests/.gitkeep Normal file
View File

@@ -0,0 +1 @@
# This file exists only to add templates/ folder to git repository.