Skip to main content

Runme with Next.js App on Vercel

This example can be found in the vercel sub-folder. You can manually check out this example by opening it with Runme.

Setup/Environment

Similar to the previous section, we can do our setup, starting, and opening of the web browser using Runme:

setup environment in vs code

Runme supports Cell Run Grouping which allows you to execute all the scripts at a go! This can be used in the script above.

Authentication

Interactive terminals are perfect for providing a CLI login to the user:

deploy application in vercel

List Projects

Remember, cells can capture the output of commands in non-interactive mode!

In this case, this can be used to get a list of the user's current registered projects with the Vercel platform.

list projects in vercel