mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Moved export of FN_REGISTRY in front of fn run which needs it set.
This commit is contained in:
@@ -71,13 +71,13 @@ Now run the following CLI commands:
|
||||
# This detects your runtime from the code above and creates a func.yaml
|
||||
fn init
|
||||
|
||||
# Set your Docker Hub username
|
||||
export FN_REGISTRY=<DOCKERHUB_USERNAME>
|
||||
|
||||
# Test your function
|
||||
# This will run inside a container exactly how it will on the server
|
||||
fn run
|
||||
|
||||
# Set your Docker Hub username
|
||||
export FN_REGISTRY=<DOCKERHUB_USERNAME>
|
||||
|
||||
# Deploy your functions to the Fn server (default localhost:8080)
|
||||
# This will create a route to your function as well
|
||||
fn deploy myapp
|
||||
@@ -124,4 +124,3 @@ For more information, see: [https://github.com/treeder/functions-ui](https://git
|
||||
### Check out the [Tutorial Series](examples/tutorial/)
|
||||
|
||||
It will demonstrate some of Fn capabilities through a series of exmaples. We'll try to show examples in most major languages. This is a great place to start!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user