Skip to content
/ APC Public

Scripts for compile and test excersises on course APC

License

Notifications You must be signed in to change notification settings

cppseminar/APC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

622 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Scripts for compile and test excersises on course APC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5