GithubHelp home page GithubHelp logo

jmhorcas / fmsgen Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 124 KB

Random generation of feature models

License: GNU General Public License v3.0

Python 66.93% HTML 25.84% JavaScript 6.70% CSS 0.31% Dockerfile 0.21%

fmsgen's Introduction

Table of Contents

FMsGen: Random generation of feature models

A tool to generate random feature models.

Available online

๐Ÿšง Soon ๐Ÿšง

Artifact description

๐Ÿšง Soon ๐Ÿšง

How to use it

๐Ÿšง Soon ๐Ÿšง

Deployment of the web application

The application can be deployed from scratch or using Docker.

Deployment from Scratch

Requirements

Download and install

  1. Install Python 3.10+

  2. Install Redis

    2a. Check if redis-server is running:

    systemctl status redis-server

    2b. If redis-server is not running, run it:

    redis-server

  3. Clone this repository and enter into the main directory:

    git clone https://github.com/jmhorcas/fmsGen.git

    cd fmsGen

  4. Create a virtual environment and activate it:

    python -m venv env

    . env/bin/activate

  5. Install the dependencies:

    pip install -r requirements.txt

Execution

  1. Go to the app folder: cd app

  2. Run Celery: celery -A app worker --loglevel INFO

  3. Run the Flask application: python app.py

Access to the web service in the localhost:

http://127.0.0.1:5000

Deployment using Docker

Requirements

Download and install

  1. Install Docker Engine

  2. Clone this repository and enter into the main directory:

    git clone https://github.com/jmhorcas/fmsGen.git

    cd fmsGen

  3. Build and launch:

    docker compose up -d --build

Execution

After building, the app is automatically launched in a container and it is exposed at:

http://127.0.0.1:5000

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

Video

๐Ÿšง Soon ๐Ÿšง

References and third-party software

fmsgen's People

Contributors

jmhorcas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.