visualregressiontracker/migration

Sponsored OSS

By Visual regression tracker

Updated 1 day ago

Image
Integration & delivery
Databases & storage
0

100K+

visualregressiontracker/migration repository overview

Backend app for Visual Regression Tracker

Code Smells Coverage

Local setup

  • Install Node 18 (LTS)
  • clone repo
  • Update .env and prisma/.env
  • Make sure Postgres is up and running, using docker compose up in a separate terminal
  • npm i
  • npm run test
  • Create DB structure npx prisma db push
  • Apply migrations npx prisma migrate deploy
  • npm run test:e2e
  • Seed initial data npx prisma db seed
  • npm run start:debug

Local HTTPS config

  • Generate keys here
  • place in folder /secrets named ssl.cert and ssl.key

Local LDAP test server

  • Run docker compose -f docker-compose.yml -f docker-compose.ldap.yml (see docker docs for multiple-compose-files - merge)
  • test the login with ldap and have a look at the logs
    curl 'http://localhost:4200/users/login' \
    -H 'accept: */*' \
    -H 'accept-language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6' \
    -H 'content-type: application/json' \
    --data-raw '{"email":"[email protected]","password":"password"}'
    

Tag summary

Content type

Image

Digest

sha256:95110f933

Size

272.6 MB

Last updated

1 day ago

docker pull visualregressiontracker/migration:5.3.0

This week's pulls

Pulls:

226

Last week