mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Updated docs for cli flag changes.
This commit is contained in:
@@ -5,7 +5,7 @@ This example will show you how to test and deploy Java code to Oracle Functions.
|
||||
|
||||
```sh
|
||||
# Initialize your function creating a func.yaml file
|
||||
fn init hello-java --runtime java
|
||||
fn init --name hello-java --runtime java
|
||||
|
||||
# Test your function. This will run inside a container exactly how it will on the server
|
||||
fn run
|
||||
@@ -15,7 +15,7 @@ echo "Michael FassBender" | fn run
|
||||
|
||||
# Deploy your functions to the Oracle Functions server (default localhost:8080)
|
||||
# This will create a route to your function as well
|
||||
fn deploy myapp
|
||||
fn deploy --app myapp
|
||||
```
|
||||
|
||||
### Now call your function:
|
||||
|
||||
Reference in New Issue
Block a user