Skip to content

Instantly share code, notes, and snippets.

@tonysneed
Last active March 24, 2021 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonysneed/4e1a7a4590d2369fcf0c4e9c9482e165 to your computer and use it in GitHub Desktop.
Save tonysneed/4e1a7a4590d2369fcf0c4e9c9482e165 to your computer and use it in GitHub Desktop.
Using LocalStack

Using LocalStack

Prerequisites

Using Docker to Run LocalStack

docker run --rm -p 4566:4566 -p 4571:4571 localstack/localstack

Install on MacOS

  1. Install pip3.

    Reference: https://www.geeksforgeeks.org/how-to-install-pip-in-macos/

    • Download pip3.
      curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
      
    • Execute the downloaded file.
      python3 get-pip.py
      
    • Verify the installation
      pip3 --version
      
  2. Install LocalStack using pip3.
    • Get Python version used with pip3.
      pip3 --version
      
    • Install LocalStack
      pip3 install localstack
      
    • Edit .zprofile to set PATH to Python bin used by pip3.
      export PATH=$PATH:/Users/xxxx/Library/Python/3.x/bin
      
    • Verify LocalStack installation
      which localstack
      
  3. Start LocalStack
    localstack start
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment