somef-vider
Web application for displaying the contents automatically retrieved from a code repository by applying the Software Metadata Extraction Framework (SOMEF)
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.3%) to scientific vocabulary
Keywords
Repository
Web application for displaying the contents automatically retrieved from a code repository by applying the Software Metadata Extraction Framework (SOMEF)
Basic Info
Statistics
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 19
- Releases: 2
Topics
Metadata Files
README.md
SOMEF Vider
Web application for SOMEF
Description
SOMEF Vider is a web application based on Vue.js and Flask to visualize the metadata retrieved from the SOMEF API.
Demo
We have a running demo in https://somef.linkeddata.es. If the demo is down, please let us know by opening an issue.
Development Installation
In the development installation client and service are independent. They are mounted and executed separately from each other.
Dependencies
- npm 6.14.8
- Python 3.9
Installation
Clone this repository
$ git clone https://github.com/SoftwareUnderstanding/SOMEF-Vider.git
Client
Before installation, configure the target server in client/src/service/axiosService by changing the variable LOCAL_URL. For local tests, use 127.0.0.1:5000 (assuming the application is deployed in that port).
Install dependencies for client
$ cd SOMEF-Vider/client/
$ npm install
Run client
$ npm run serve
Service
Install dependencies for server
cd SOMEF-Vider/server/
python3.9 -m venv virtualenv/
source virtualenv/bin/activate
python -m pip install -r requirements.txt --no-dependencies
python -m nltk.downloader all
Run service. Ports can be configures in app.py
python app.py
Production installation
It follows roughly the same process as the development installation but, in this case, the client is compiled and integrated into the flask service.
Go to the client folder and install the dependencies if they are not installed.
$ cd SOMEF-Vider/client/
$ npm install
Now instead of running the client, execute the following command to build it:
$ npm run build
This will generate a new folder in the current directory called "dist" with all the client files compiled.
To integrate this files in the service, just move the folder "dist" to the service folder and rename it to "static".
$ mv dist ../server/static
This last 2 mandates are (for now) the only difference between development and production. To run the tool
follow the steps listed above at the "Service" section.
To generate the bundle with Docker, see the client deployment instructions.
Docker bundle
If you want an image of the whole application, you can generate a Docker image as follows:
First configure the GitHub token in the /server/installer.sh setting the property token
to the desired GitHub token. (ensure that this file is marked as executable)
Then run the Docker command in the root directory
docker build -t somef-vider .
And run the container
docker run -p 5000:5000 somef-vider
Now you will have the complete application running on the port 5000
Authors
- @Vitoriox: design and implementation
- @dgarijo: supervision, testing and deployment
Contributing
If you find problems or if you wish to add new features, please let us know by opening an issue or submitting a pull request.
Owner
- Name: Software Understanding
- Login: SoftwareUnderstanding
- Kind: organization
- Repositories: 7
- Profile: https://github.com/SoftwareUnderstanding
Organization dedicated to make software understandable by extracting metadata and facilitate its reuse
Citation (CITATION.cff)
cff-version: 1.2.0
message: If you use this software, please cite it using these metadata.
title: SOMEF VIDER
abstract: Web applicaiton for SOMEF
authors:
- family-names: Victor
given-names: Fernandez-Lancha Aranda
- family-names: Daniel
given-names: Garijo
version: 0.0.1
date-released: 2021-12-14
license: Apache-2.0
url: "https://github.com/SoftwareUnderstanding/SOMEF-Vider"
GitHub Events
Total
- Issues event: 12
- Watch event: 2
- Issue comment event: 16
- Push event: 5
- Pull request event: 10
- Fork event: 2
Last Year
- Issues event: 12
- Watch event: 2
- Issue comment event: 16
- Push event: 5
- Pull request event: 10
- Fork event: 2
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 5
- Total pull requests: 3
- Average time to close issues: over 2 years
- Average time to close pull requests: about 12 hours
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 1.2
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 3
- Average time to close issues: 18 days
- Average time to close pull requests: about 12 hours
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- dgarijo (7)
- juanjemdIos (1)
- EvaMart (1)
- rebeccaringuette (1)
Pull Request Authors
- juanjemdIos (5)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- @vue/cli-plugin-babel ~4.5.0 development
- @vue/cli-plugin-eslint ~4.5.0 development
- @vue/cli-plugin-router ^4.5.14 development
- @vue/cli-service ~4.5.0 development
- babel-eslint ^10.1.0 development
- eslint ^6.7.2 development
- eslint-plugin-vue ^6.2.2 development
- sass ~1.32.0 development
- sass-loader ^10.0.0 development
- vue-cli-plugin-vuetify ~2.4.2 development
- vue-template-compiler ^2.6.11 development
- vuetify-loader ^1.7.0 development
- axios ^0.22.0
- citation-js ^0.5.1
- core-js ^3.6.5
- vue ^2.6.11
- vue-router ^3.2.0
- vuetify ^2.4.0
- vuetify-markdown-editor ^3.3.3
- Flask ==2.0.2
- Flask-Cors ==3.0.10
- Jinja2 ==3.0.3
- Markdown ==3.3.6
- MarkupSafe ==2.0.1
- Pillow ==8.4.0
- Werkzeug ==2.0.2
- beautifulsoup4 ==4.10.0
- bs4 ==0.0.1
- certifi ==2021.10.8
- charset-normalizer ==2.0.7
- click ==8.0.3
- click-option-group ==0.5.3
- cycler ==0.11.0
- decorator ==5.1.0
- fonttools ==4.28.2
- idna ==3.3
- importlib-metadata ==4.8.2
- isodate ==0.6.0
- itsdangerous ==2.0.1
- joblib ==1.1.0
- kiwisolver ==1.3.2
- matplotlib ==3.5.0
- nltk ==3.6.5
- numpy ==1.21.4
- packaging ==21.3
- pandas ==1.3.4
- pyparsing ==3.0.6
- python-dateutil ==2.8.2
- pytz ==2021.3
- rdflib ==6.0.2
- rdflib-jsonld ==0.6.2
- regex ==2021.11.10
- requests ==2.26.0
- scikit-learn ==1.0
- scipy ==1.7.3
- setuptools-scm ==6.3.2
- six ==1.16.0
- somef ==0.6.0
- soupsieve ==2.3.1
- textblob ==0.17.1
- threadpoolctl ==3.0.0
- tomli ==1.2.2
- tqdm ==4.62.3
- urllib3 ==1.26.7
- validators ==0.18.2
- xgboost ==1.5.0
- zipp ==3.6.0
- node 16 build
- node 16 build
- python 3.9 build