Skip to content

Commit

Permalink
upload local working prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
appukuttan-shailesh committed Aug 12, 2024
1 parent 9995336 commit 4725809
Show file tree
Hide file tree
Showing 27 changed files with 29,673 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[bumpversion]
current_version = 0.1.0
commit = False
message = service version: {current_version} → {new_version}
tag = False

[bumpversion:file:.osparc/metadata.yml]
search = {current_version}
replace = {new_version}

[bumpversion:file:Makefile]
search = {current_version}
replace = {new_version}

[bumpversion:file:docker-compose-local.yml]
search = {current_version}
replace = {new_version}
40 changes: 40 additions & 0 deletions .cookiecutterrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This file exists so you can easily regenerate your project.
#
# `cookiepatcher` is a convenient shim around `cookiecutter`
# for regenerating projects (it will generate a .cookiecutterrc
# automatically for any template). To use it:
#
# pip install cookiepatcher
# cookiepatcher gh:itisfoundation/cookiecutter-osparc-service project-path
#
# See:
# https://pypi.python.org/pypi/cookiepatcher
#
# Alternatively, you can run:
#
# cookiecutter --overwrite-if-exists --config-file=project-path/.cookiecutterrc gh:itisfoundation/cookiecutter-osparc-service
#

default_context:

_checkout: None
_output_dir: '/home/shailesh'
_repo_dir: '/home/shailesh/.cookiecutters/cookiecutter-osparc-jupyterlab-service'
_template: 'git+ssh://[email protected]/ITISFoundation/cookiecutter-osparc-jupyterlab-service'
author_affiliation: 'INT, Aix-Marseille University, France'
author_email: '[email protected]'
author_name: 'Shailesh Appukuttan'
contact_email: '[email protected]'
docker_base: 'quay.io/jupyter/minimal-notebook:python-3.11'
git_repo: 'github'
git_username: 'appukuttan-shailesh'
number_of_inputs: '1'
number_of_outputs: '0'
project_name: 'Visualize 3D Model'
project_package_name: 'visualize_3d_model'
project_short_description: 'Module to allow quick and simple visualization of 3D models'
project_slug: 'visualize-3d-model'
release_date: '2024'
resources_CPU_nanoCPUs: '4000000000'
resources_RAM_nanoBytes: '8000000000'
version: '0.1.0'
14 changes: 14 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

# Maps code in repository with maintainers
# Order is important. The last matching pattern has the most precedence.
# SEE https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners#example-of-a-codeowners-file


# files and folders recursively
Dockerfile @appukuttan-shailesh
Makefile @appukuttan-shailesh

# NOTE: '/' denotes the root of the repository
/.github/ @appukuttan-shailesh
/.osparc/ @appukuttan-shailesh

14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/ask_question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: 💬 Question
about: Ask a question
labels: question
---

## What version of this service are you using?

<!--
Different ways are possible.
If you have the service open in o²S²PARC, the service version can be found under the "More Options" menu:
-->

## How can we help you?
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: 🐛 Bug
about: File a bug/issue
labels: bug
---

## What version of this service are you using?




<!--
Different ways are possible.
If you have the service open in o²S²PARC, the service version can be found under the "More Options" menu:
-->
## Long story short

<!-- Please describe your problem and why the fix is important. -->

## Expected behaviour

<!-- What is the behaviour you expect? -->

## Actual behaviour

<!-- What's actually happening? -->

## Steps to reproduce

<!-- Please describe steps to reproduce the issue.
If you have a script that does that please include it here within
markdown code markup -->

## Your environment

<!-- Describe the environment you have that lead to your issue.
This includes aiohttp version, OS, proxy server and other bits that
are related to your case.
IMPORTANT: aiohttp is both server framework and client library.
For getting rid of confusing please put 'server', 'client' or 'both'
word here.
-->
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: ✨ Feature request
about: Suggest an idea to implement
labels: enhancement
---

## User Story

<!-- A clear and concise description of how the feature works and looks like from the user's perspective.
Ex. I want to be able the stop the running pipeline by pressing a stop button. If the pipeline is stopped, I see a info-level message confirming it in the logger, if it fails the message should be displayed in red (error). Also, all the progress bars in the nodes must be set to 0. -->

## Example

<!-- Any file/screenshot/photomontage/video/website is provided for a better understanding of the request -->


## Definition of Done
<!--
A clear and concise description of what the feature requires.
1. Play button turns into stop button when pipeline is running
2. Stop button turns into play button when pipeline is finished
3. Stop button turns into play button when pipeline is successfully stopped
4. Logger displays messages everytime the play/stop button is pressed
5. Progress bars are set to 0 when stopping pipeline
6. Stop button has a Python interface -->
22 changes: 22 additions & 0 deletions .github/workflows/check-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build and check image

on: [push, pull_request]

jobs:
verify-image-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo content
uses: actions/checkout@v2
- name: ooil version
uses: docker://itisfoundation/ci-service-integration-library:v1.0.4
with:
args: ooil --version
- name: Assemble docker compose spec
uses: docker://itisfoundation/ci-service-integration-library:v1.0.4
with:
args: ooil compose
- name: Build all images if multiple
uses: docker://itisfoundation/ci-service-integration-library:v1.0.4
with:
args: docker compose build
186 changes: 186 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
## Common.gitignore

# temporary folders
tmp/

# explicit mark
*ignore*
.tmp*

# vscode configuration
.vscode

# make outputs
pytest_*.xml
docker-compose.yml

# validation folder
!validation/**/*
# docker ignore
!.dockerignore
# git ignore
!.gitignore

## Python.gitignore
# FROM https://raw.githubusercontent.com/github/gitignore/main/Python.gitignore

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
5 changes: 5 additions & 0 deletions .osparc/docker-compose.overwrite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: "3.7"
services:
visualize-3d-model:
build:
dockerfile: Dockerfile
Loading

0 comments on commit 4725809

Please sign in to comment.