Skip to content

ERPI-UL/OntoCosmeticTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OntoCosmetic Tool

OntoCosmetic tool is a web service that permits to formulate cosmetic product and verify design rules against this formulation. This web service is a prototype designed to validate the feasbility of using ontology to assit the formulation process of cosmetic product.

This software was developed by Alex Gabriel (Université de Lorraine - ERPI) in collaboration with Juliana Serna (Université de Lorraine - LRGP).

This work is based on OntoCosmetic ontologies however the ontology was instanciated with additional information which is not available by default.

Main features

Commands

In order to start the application, there is two alternatives : using Docker or python venv.

Docker

Here are the main commmands to start the app using docker. It requires to install Docker on the host machine.

with docker compose

These commands has to be done in the main folder containing the 'docker-compose.yml' file

# create & start the container
docker compose up -d

# stop the container
docker compose down

without docker compose

These commands has to be done in the main folder containing the 'Dockerfile' file

# create the container
docker build . -t ontocosmtool

# start the container
docker run -d -p 5000:5000 --name=OntoCosmTool ontocosmtool

# stop the container
docker stop OntoCosmTool

Venv

To use this alternive, it requires Python and Pip on the host system. As the reasoner (Pellet) requires Java, you may have installed Java on the host machine.

# create the virtual environment
python3 -m venv .

# activate the virtual environment (Windows)
Scripts\activate 

# install required dependencies (do it once, the first time)
pip install -r requirements.txt

# start the web service 
python3 run.py

# stop the virtual environment
deactivate

Resources

Jinja2 HTML Template Designer Documentation bootstrap flask OWLREADY2 doc

SHACL

SHACL resources list Validating RDF data- SHACL book

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published