Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation process question #6

Open
Befoh opened this issue Apr 29, 2021 · 2 comments
Open

Installation process question #6

Befoh opened this issue Apr 29, 2021 · 2 comments

Comments

@Befoh
Copy link

Befoh commented Apr 29, 2021

Hi guys,

First off amazing work and thank you for sharing.

I'm keen on getting this set up and wanted to double check I'm on the right path.

Do we run the below via AWS CodeCommit? In other words apart from the sql setup in Snow; how/where do we proceed to execute the other scripts?

image

Thanks in advance.

Regards,

@dmarts
Copy link
Collaborator

dmarts commented Apr 29, 2021

HI @Befoh - you can run these commands (the exports and the cats) from a linux box somewhere or using WSL if Windows is your thing. It's a one-time activity to take the template files and personalise them for your environment - then when you run serverless deploy they'll be used to set everything up for you.

So the process is:

  1. Get your 'temporary' linux environment, in my case WSL2
  2. Setup AWS CLI (including aws configure), setup Serverless, clone the repo to your box
  3. cd into the repo
  4. Run the export commands to set your variables
  5. Run the cat commands to update the template scripts with your variables
  6. Run serverless deploy

Then carry on with the rest of the Snowflake setup etc.

[CC @guy-adams ]

@Befoh
Copy link
Author

Befoh commented Apr 29, 2021

Appreciate the quick reply, thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants