A tool to generate random feature models.
🚧 Soon 🚧
🚧 Soon 🚧
🚧 Soon 🚧
The application can be deployed from scratch or using Docker.
- Linux
- Python 3.10+
- Redis
- Celery
- Flama
-
Install Python 3.10+
-
Install Redis
2a. Check if
redis-server
is running:systemctl status redis-server
2b. If
redis-server
is not running, run it:redis-server
-
Clone this repository and enter into the main directory:
git clone https://github.com/jmhorcas/fmsGen.git
cd fmsGen
-
Create a virtual environment and activate it:
python -m venv env
. env/bin/activate
-
Install the dependencies:
pip install -r requirements.txt
-
Go to the app folder:
cd app
-
Run Celery:
celery -A app worker --loglevel INFO
-
Run the Flask application:
python app.py
Access to the web service in the localhost:
-
Install Docker Engine
-
Clone this repository and enter into the main directory:
git clone https://github.com/jmhorcas/fmsGen.git
cd fmsGen
-
Build and launch:
docker compose up -d --build
After building, the app is automatically launched in a container and it is exposed at:
To add more worker to the application:
docker compose up -d --scale worker=5 --no-recreate
To shut down:
docker compose down
To get status and logs:
docker ps
docker logs 7b7ff37ed2d5
🚧 Soon 🚧