To deploy your function to Bip, you’ll need to initialise it first. This process writes a configuration file to your function directory, which tells Bip which domain you want to deploy to each time you run bip fn deploy.
To initialise your function, run:
bip fn init
When prompted, enter the domain your function resides on, and the name of your function.
Once done, you’re now ready to deploy your function.