Studios Basics

This section will teach you the basics of working with Hofstadter studios. We’ll start with the layout of the application directory structure and then go through the various files and folders.

Application Stack

The application stack is:

Application Commands

Update the application code:

hof push

Database Commands

Update the database schema:

hof db migrate
# or
hof db seed

(seed will run migrations too, but will destroy existing data)

Updating Fields:

Update or add new fields to your types, then

Hofstadter Studios handles schema updates and database migrations seemlessly in the background for you

Function Commands

Deploy a Serverless function:

hof func deploy my-fn

Delete a function:

hof func delete my-fn