Installation
#
Using Docker ComposeDocker Compose is the easiest way to install and get started with VidCheck on your system locally.
#
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
#
Env file to be addedCreate config file with name config (and extension .env, .yml, .json) in
server/
and add cnofig variables (eg. below)DATABASE_HOST=postgres DATABASE_USER=postgresDATABASE_PASSWORD=postgresDATABASE_NAME=vidcheck DATABASE_PORT=5432 DATABASE_SSL_MODE=disable KETO_URL=http://keto:4466KAVACH_URL=http://kavach-server:8000OATHKEEPER_HOST=oathkeeper:4455KRATOS_PUBLIC_URL=http://kratos:4433DEGA_URL=http://dega-server:8000DEGA_INTEGRATION=false IFRAMELY_URL=http://iframely:8061MEILI_KEY=passwordMEILI_URL=http://meilisearch:7700IMAGEPROXY_URL=http://127.0.0.1:7001 TEMPLATES_PATH=web/templates/* SUPER_ORGANISATION_TITLE='VidCheck Administration'DEFAULT_NUMBER_OF_MEDIA=10DEFAULT_NUMBER_OF_SPACES=2DEFAULT_NUMBER_OF_VIDEOS=10CREATE_SUPER_ORGANISATION=true[email protected]DEFAULT_USER_PASSWORD=2ssad32sadADSd@!@4
#
Starting the applicationExecute 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 applicationOnce the application is up and running you should be able to access it using the following urls:
- Vidcheck: http://127.0.0.1:4455/.factly/vid-check/web/
- Kavach: http://127.0.0.1:4455/.factly/kavach/web/auth/login
#
Stopping the applicationExecute the following command docker-compose command to stop Vidcheck and all the components
docker-compose down