codific / sammy

SAMMY Open Source v2
https://sammy.codific.com
Creative Commons Attribution Share Alike 4.0 International
13 stars 4 forks source link

SAMMY Open Source v2

This repository hosts the open source version of SAMMY - the OWASP SAMM tool.

License

This project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. See the LICENSE file for details.

SAMMY v2

How to run it without docker

Requirements

Optional

How to run it

  1. Create .env.local file with your local setup. Example with MariaDB:
  2. install & run
    composer install
    ./scripts/setup_database.sh
    # if you have symfony cli
    symfony server:start --allow-http
    # else
    php -S 0.0.0.0:8000 -t ./public
    open http://127.0.0.1:8000

How to run it with docker

# 1. start DB and Redis
docker compose up -d db redis
# 2. now we can start our application
docker compose up -d --build app
# 3. sync SAMM model
docker compose exec app ./scripts/sync_samm.sh
# 4. Enjoy
open http://127.0.0.1:8000

Mailing