Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.62 KB

File metadata and controls

36 lines (22 loc) · 1.62 KB

Apc portal

Build microservices

Development

To successfully run portal locally, you need to have docker installed (on Windows it can be Docker Desktop).

Create google app

Go to https://console.cloud.google.com/apis/credentials/ and create new app. Set

  • Authorized Javascript origins to http://localhost:8080
  • Authorized redirect URIs to http://localhost:8080/signin-google

Keep the client id and secret you will need them.

Run all services

  1. Go to ./cppseminar and run docker compose up you need to have few environment variables present (e.g. create .env file there or just set them)
    • GOOGLE_CLIENT_ID google client id
    • GOOGLE_CLIENT_SECRET google client secret
    • DOCKER_REGISTRY_USER and DOCKER_REGISTRY_PASS are credential for login to docker repository, this is the repository where test images are present
  2. After everything has started go to http://localhost:8080/ and you are good to go.

Usefull URLs

Deployment

We have production Kubernetes deployment in folder deploy.