mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Merge pull request #160 from fnproject/chad-name-fn
first changes to Fn name in Readme
This commit is contained in:
18
README.md
18
README.md
@@ -1,8 +1,8 @@
|
|||||||
# Oracle Functions [](https://github.com/fnproject/fn/commits/master)
|
# Fn [](https://github.com/fnproject/fn/commits/master)
|
||||||
|
|
||||||
<!-- [](https://godoc.org/github.com/treeder/functions) -->
|
<!-- [](https://godoc.org/github.com/treeder/functions) -->
|
||||||
|
|
||||||
Oracle Functions is an event-driven, open source, [functions-as-a-service](serverless.md) compute
|
Fn is an event-driven, open source, [functions-as-a-service](serverless.md) compute
|
||||||
platform that you can run anywhere. Some of it's key features:
|
platform that you can run anywhere. Some of it's key features:
|
||||||
|
|
||||||
* Write once
|
* Write once
|
||||||
@@ -70,15 +70,15 @@ curl -LSs https://goo.gl/KKDFGn | sh
|
|||||||
|
|
||||||
This will download a shell script and execute it. If the script asks for a password, that is because it invokes sudo.
|
This will download a shell script and execute it. If the script asks for a password, that is because it invokes sudo.
|
||||||
|
|
||||||
### Run Oracle Functions Server
|
### Run Fn Server
|
||||||
|
|
||||||
To get started quickly with Oracle Functions, just fire up a functions container:
|
To get started quickly with Fn, just fire up a functions container:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
fn start
|
fn start
|
||||||
```
|
```
|
||||||
|
|
||||||
This will start Oracle Functions in single server mode, using an embedded database and message queue. You can find all the
|
This will start Fn in single server mode, using an embedded database and message queue. You can find all the
|
||||||
configuration options [here](docs/operating/options.md). If you are on Windows, check [here](docs/operating/windows.md).
|
configuration options [here](docs/operating/options.md). If you are on Windows, check [here](docs/operating/windows.md).
|
||||||
|
|
||||||
-->
|
-->
|
||||||
@@ -97,7 +97,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println("Hello from Oracle Functions!")
|
fmt.Println("Hello from Fn!")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ fn init <DOCKERHUB_USERNAME>/hello
|
|||||||
# This will run inside a container exactly how it will on the server
|
# This will run inside a container exactly how it will on the server
|
||||||
fn run
|
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
|
# This will create a route to your function as well
|
||||||
fn deploy myapp
|
fn deploy myapp
|
||||||
```
|
```
|
||||||
@@ -144,7 +144,7 @@ you can update your code and run `fn deploy myapp` again.
|
|||||||
|
|
||||||
## User Interface
|
## User Interface
|
||||||
|
|
||||||
This is the graphical user interface for Oracle Functions. It is currently not buildable.
|
This is the graphical user interface for Fn. It is currently not buildable.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run --rm -it --link functions:api -p 4000:4000 -e "API_URL=http://api:8080" treeder/functions-ui
|
docker run --rm -it --link functions:api -p 4000:4000 -e "API_URL=http://api:8080" treeder/functions-ui
|
||||||
@@ -157,4 +157,4 @@ For more information, see: [https://github.com/treeder/functions-ui](https://git
|
|||||||
|
|
||||||
### Check out the [Tutorial Series](examples/tutorial/).
|
### Check out the [Tutorial Series](examples/tutorial/).
|
||||||
|
|
||||||
It will demonstrate some of Oracle Functions capabilities through a series of exmaples. We'll try to show examples in most major languages. This is a great place to start!
|
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