mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Update references remove refs to treeder oracle funcy (#376)
* Remove lots of refs to iron and funcy oracle etc.. * more ref replacements * Replacing more refs. Treeder * Use Fn not FN
This commit is contained in:
committed by
Travis Reeder
parent
5219227393
commit
c7f3066c75
@@ -1,6 +1,6 @@
|
||||
# Tutorial 1: PHP Function w/ Input (3 minutes)
|
||||
|
||||
This example will show you how to test and deploy PHP code to Oracle Functions. It will also demonstrate passing data in through stdin.
|
||||
This example will show you how to test and deploy PHP code to Fn. It will also demonstrate passing data in through stdin.
|
||||
|
||||
### First, run the following commands:
|
||||
|
||||
@@ -15,7 +15,7 @@ fn run
|
||||
# Now try with an input
|
||||
cat sample.payload.json | fn run
|
||||
|
||||
# Deploy your functions to the Oracle Functions server (default localhost:8080)
|
||||
# Deploy your functions to the Fn server (default localhost:8080)
|
||||
# This will create a route to your function as well
|
||||
fn deploy --app myapp
|
||||
```
|
||||
@@ -33,7 +33,7 @@ And now with the JSON input:
|
||||
curl -H "Content-Type: application/json" -X POST -d @sample.payload.json http://localhost:8080/r/myapp/hello-php
|
||||
```
|
||||
|
||||
That's it! Our `fn deploy` packaged our function and sent it to the Oracle Functions server. Try editing `func.php`
|
||||
That's it! Our `fn deploy` packaged our function and sent it to the Fn server. Try editing `func.php`
|
||||
and then doing another `fn deploy`.
|
||||
|
||||
### Note on Dependencies
|
||||
|
||||
Reference in New Issue
Block a user