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.
In order to start the application, there is two alternatives : using Docker or python venv.
Here are the main commmands to start the app using docker. It requires to install Docker on the host machine.
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
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
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
Jinja2 HTML Template Designer Documentation bootstrap flask OWLREADY2 doc