# Create a copy of template.yml named template.local.yml and set your local env. # -t = use specific template # -p = port # --host = 0.0.0.0 (lan access) sudo sam local start-api -p 8181 --host 0.0.0.0 -t template.local.yml
# Create a copy of template.yml named template.local.yml and set your local env. # -t = use specific template # -p = port # --host = 0.0.0.0 (lan access) sudo sam local start-api -p 8181 --host 0.0.0.0 -t template.local.yml