You will be logged in autommatically, use commands:
for the app: "shopify app dev"
for the theme: "shopify theme dev"