Skip to content

nicolaslecrique/guessit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

  • docker & docker-compose

Build and run docker images

execute ./build_and_run_docker.sh

Tools

to execute get / post queries directly on back/ml: https://www.postman.com/

Setup a new cloud environment

  • Create a new project on google cloud

Setup back

  • Create a new service on Google cloud run
  • Create a new spring boot config (application-{ENV}.yml)
  • following prod environment, set appropriate environment variables for back container in cloud run (https://cloud.google.com/run/docs/configuring/environment-variables) (SPRING_PROFILES_ACTIVE, and variables used in application-{ENV}.yml like ML_SERVICE_URL...)
  • Adapt deploy_to_cloud_run.sh (to correct project and cloud_run_service)

Setup front

  • Create a new project on firebase. On creation, associate it to the google cloud project
  • Activate firebase hosting
  • Create a new npm build config (build:ENV in package.json) to set correct back api url
  • Adapt to deploy_to_firebase_hosting.sh (to deploy to correct project firebase project)

Setup ml

Setup PostgreSQL database

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published