Skip to content

thomaxxl/safrs-example

 
 

Repository files navigation

Overview

Docker image with tests and examples, created by wicol Live Demo: https://safrs.hardened.be/

Test/example repo for SAFRS

Use ./run.sh to run misc tasks for this repo. Just cat run.sh to see what's available, then ./run.sh <task> [<args>].

Set up the DB

./run.sh db up -d

Create a database and use the uuid extension: Launch a psql shell - manually or with

./run.sh db_shell

CREATE DATABASE safrs;
\c safrs
CREATE EXTENSION "uuid-ossp";

Swagger Configuration

edit config/base.py

SWAGGER_HOST = '172.18.17.172'
SWAGGER_PORT = 1237

Run the service

./run.sh up

Run tests

./run.sh test

About

Example implementation of SAFRS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.9%
  • Shell 1.5%
  • Other 1.6%