Git Product home page Git Product logo

vidcheck's Introduction

Vidcheck

Server

Releasability: Quality Gate Status
Reliability: Reliability Rating Bugs
Security: Security Rating Vulnerabilities
Maintainability: Maintainability Rating Technical Debt Code Smells
Other: Lines of Code Duplicated Lines (%) Coverage

Setting up development environment for Vidcheck

Pre-requisites

  • Currently the setup is only tested for development on Mac OS and Linux
  • Install and run Docker and Docker Compose

Clone the required repositories

    git clone https://github.com/factly/kavach-server.git kavach/kavach-server
    git clone https://github.com/factly/kavach-web.git kavach/kavach-web

The folder structure after cloning the above repositories should look like the following:

    .
    ├── README.md
    ├── docker-compose.yml
    ├── kavach
    ├── kratos
    ├── client
    ├── server
    ├── oathkeeper
    └── pg-init-scripts

Starting the application

  • Execute the following command docker-compose command to start Vidcheck

      docker-compose up
    
  • When the application is started using docker-compose, a directory with name factly will be created at the root level to perisit all the data

Access the application

Once the application is up and running you should be able to access it using the following urls:

Stopping the application

  • Execute the following command docker-compose command to stop Vidcheck and all the components

      docker-compose down
    

Env files to be added

  • Create config file with name config (and extension .env, .yml, .json) in server/ and add config variables (eg. below)
DATABASE_HOST=postgres 
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_NAME=vidcheck 
DATABASE_PORT=5432 
DATABASE_SSL_MODE=disable

KETO_URL=http://keto:4466
KAVACH_URL=http://kavach-server:8000
OATHKEEPER_HOST=oathkeeper:4455
KRATOS_PUBLIC_URL=http://kratos:4433
DEGA_URL=http://dega-server:8000
DEGA_INTEGRATION=false

IFRAMELY_URL=http://iframely:8061
MEILI_KEY=password
MEILI_URL=http://meilisearch:7700
IMAGEPROXY_URL=http://127.0.0.1:7001

TEMPLATES_PATH=web/templates/*

SUPER_ORGANISATION_TITLE=Organisation Title
DEFAULT_NUMBER_OF_MEDIA=10
DEFAULT_NUMBER_OF_SPACES=2
DEFAULT_NUMBER_OF_VIDEOS=10
CREATE_SUPER_ORGANISATION=true
DEFAULT_USER_EMAIL=EMAIL
DEFAULT_USER_PASSWORD=PASSWORD
  • Create a folder companion in root / and create .env file inside companion and add config variables (eg. below)
COMPANION_GOOGLE_KEY=GOOGLE_KEY
COMPANION_GOOGLE_SECRET=GOOGLE_SECRET
COMPANION_AWS_ENDPOINT=http://localhost:9000
COMPANION_AWS_BUCKET=vidcheck
COMPANION_AWS_KEY=miniokey
COMPANION_AWS_SECRET=miniosecret
COMPANION_DOMAIN=localhost:3020
COMPANION_PROTOCOL=http
COMPANION_DATADIR=/
COMPANION_SELF_ENDPOINT=localhost:3020
NODE_ENV=dev

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.