tatchiwiggers / mi-person-legacy

0 stars 0 forks source link

Deploy #23

Open luizarosalba opened 1 year ago

luizarosalba commented 1 year ago

→ Montar estrutura das pastas Captura de Tela 2022-11-02 às 14 50 05

→ Criar projeto no GC Captura de Tela 2022-11-02 às 14 51 19

→ ML flow: Captura de Tela 2022-11-02 às 15 03 17

→ Arquivo API + Criar uma imagem docker e colocar o container no Cloud Run

Captura de Tela 2022-11-02 às 15 04 39

→ colocar o UI em produção ( criar um repositório diferente?) (heroku ou streamlit cloud? )

For now, all the code that we have been using for data exploration (notebooks), model training and building our prediction API is contained in a single project.

We are going to create a separate project for our website in order to keep things organised.

🤔 Why would we want to split our code into 2 projects ?

👉 Separating the code for the model training + prediction API from the code of the website will allow the package for the website to be very light👉 Using separate projects will also ease the deployment of the interface

Actually, the package for our website will not require to contain any Data Science related code, since the website will be using our own API in order to make predictions.

Splitting the code between training/prediction and website has several benefits:

→ conectar a api com o UI

Captura de Tela 2022-11-02 às 15 06 21