GithubHelp home page GithubHelp logo

SICOPE Model

Model Based Testing tool using Single Color Petrinet Model.

Testing

Requirements

Getting code

git clone https://github.com/sicope-model/sicope-model.git
cd sicope-model

Download optional docker images

docker pull selenoid/video-recorder:latest-release
docker pull IMAGE_NAME:TAG # in var/selenoid/browsers.json

Start

docker-compose --env-file docker/.env up
docker-compose exec admin php bin/console doctrine:schema:update --force
docker-compose exec admin php bin/console app:add-user --admin

Usage

Visit Admin to create first model.

Contributing

Requirements

Build code

composer install
yarn install
yarn build

Debug

# docker-compose.yml
-    #APP_ENV: dev
+    APP_ENV: dev

-    #  - .:/srv/app
+      - .:/srv/app

-    #  - ./public:/srv/app/public
+      - ./public:/srv/app/public
# .vscode/launch.json
        {
            "name": "Listen for Xdebug",
            "type": "php",
            "request": "launch",
+            "pathMappings": {
+                "/srv/app": "${workspaceRoot}",
+            },
            "port": 9003
        },

Deployment

Requirements

Start

vault server -dev
nomad agent -config=client.hcl -bind=0.0.0.0 -dev
vault kv put -mount=secret sicope-model \
    postgres_user=user \
    postgres_password=password \
    postgres_db=db \
    status_uri=http://127.0.0.1:4444 \
    webdriver_uri=http://127.0.0.1:4444 \
    mailer_dsn=smtp://127.0.0.1:1025 \
    app_secret=a0b30e5d7a5a1f710b766e8ac601af11
nomad run prod.hcl
docker-compose exec admin php bin/console doctrine:schema:update --force
docker-compose exec admin php bin/console app:add-user --admin

For more information, see Deploying in Production

Screenshots

login

dashboard

Links

sicope-model's Projects

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.