App
and Runtime
App
is the namespace for a project. You’ll give it a unique name as an identifier.App
is a Runtime
. The Runtime
is a definition of the hardware your container will run on.pydantic
to be installed on your local machine. You can install it by running pip install pydantic
..beamignore
.beam serve app.py
. This will:
beam serve
, you’ll notice the server reloading with your code changes.
You’ll use this workflow anytime you’re developing an app on Beam. Trust us — it makes the development process uniquely fast and painless.
beam serve
.
You can customize this URL with the name of a subreddit. In this example, we’ll use r/machinelearning
.
GET
request returns a top post from the subreddit:
beam serve
session, this will create a persistent deployment and will remain active until you stop it.