radon-h2020 / radon-defect-prediction-api

A defect prediction for Infrastructure code
https://radon-h2020.github.io/radon-defect-prediction-api/
Apache License 2.0
0 stars 1 forks source link

This is a mirror of https://github.com/radon-h2020/radon-defuse

The commit annotator and model builder for defusing unsuspecting errors

How to set up

The application relies on Firebase's [Firestore Database]() and [Storage](). Therefore, the following steps are mandatory to set it up.

Alt img

Here's the file defuse/src/environment.ts with example values:

export const environment = {
    production: false,
    firebase: {
        apiKey: "AIzaSyDOCAbC123dEf456GhI789jKl01-MnO",
        authDomain: "myapp-project-123.firebaseapp.com",
        databaseURL: "https://myapp-project-123.firebaseio.com",
        projectId: "myapp-project-123",
        storageBucket: "myapp-project-123.appspot.com",
        messagingSenderId: "65211879809",
        appId: "1:65211879909:web:3ae38ef1cdcb2e01fe5f0c",
        measurementId: "G-8GSGZQ44ST"
    }
};

Note: it is recommended to use different configuration objects for development (defuse/src/environment.ts) and production (defuse/src/environment.prod.ts) environments.

How to run

In the repository root folder run docker-compose up. The application runs on http://localhost:4200/.