Skip to content
User interface for fn project.
Branch: master
Clone or download
CI
Latest commit 71bee45 Nov 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
client
config
docs/screenshots
public
server
.babelrc
.gitignore
Dockerfile
LICENSE
README.md
VERSION
build.sh
package-lock.json
package.json
release.sh
server.js
stylelint.config.js
webpack.config.js

README.md

WARNING: this repo has gone stale and the UI is currently broken. It is not intended to be left for dead forever, feel free to fix it up, this has become a lower priority item at the moment however for the fn team.

UI for Fn CircleCI

Usage

Start an fn server

fn start

Start the UI:

docker run --rm -it --link fnserver:api -p 4000:4000 -e "FN_API_URL=http://api:8080" fnproject/ui

Screenshots

All apps view:

All functions in an app:

Development

1) Install dependencies

npm install
sudo npm install -g webpack

2) Start Functions API (see Fn on GitHub)

fn start

4) Compile assets

webpack

3) Start web server

PORT=4000 FN_API_URL=http://localhost:8080 npm start
  • PORT - port to run UI on. Optional, 4000 by default
  • FN_API_URL - Functions API URL. Required

5) View in browser

http://localhost:4000/

Configuring log levels

UI uses console-logging for server-side logging. This supports log levels of debug, verbose, info, warn and error. By default the log level is info (this is configured in config/default.json). To set a log level of debug, use

NODE_CONFIG='{"logLevel":"debug"}' PORT=4000 FN_API_URL=http://localhost:8080 npm start

You can’t perform that action at this time.