Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 2.58 KB

Deployment.md

File metadata and controls

43 lines (28 loc) · 2.58 KB

Deployment

Project Structure

  • Deployment: Setup files for deployment the app to Snowflake in Streamlit (SiS)
  • Maps: Mappings files, data related with the different APIs compatibility of Snowpark Migrator Accelerator.
  • Schema: Data Base Schema file, required DDL for the Streamlit app.
  • Streamlit: Streamlit files. Python code of the application.

Pre-requisites

1. Sign up for a Snowflake Free Trial (Optional):

If you don't have a Snowflake account, you can jump over to the Snowflake Free Trial signup page, enter the details required, and tap continue. Follow the steps required and check your email for an Activation link. Keep the credentials handy as you will need them to connect.

2. Python 3.11 or later:

There are several ways to accomplish this requirement, some operative systems already have Python installed. If that one is not the case for your machine please find below some alternatives:

Running the notebook

For running the notebook you can do it from VSCode or Jupyter in this case we are going to use VSCode.

  1. Download or clone this repository to your local machine.
  2. Open VSCode and open the folder which contains the repository files.
alt text
  1. Open the notebook deployment/deployment.ipynb
alt text
  1. Select your prefer "Kernel" the Python version has to be equal or gretter than 3.11 to run the notebook.
alt text
  1. Update your Snowflake account configuration. In the file deployment/iaa_config.toml

  2. Execute all the notebook cells. By clicking Run All.

  3. Click on the Button Open IAA

alt text