Quickstart

Installation

FC could be installed by pip.

  • fc-server

$ sudo pip3 install fc-server
  • fc-client

$ sudo apt-get update
$ sudo apt-get install -y microcom corkscrew
$ sudo pip3 install fc-client
  • fc-guarder

$ sudo pip3 install fc-guarder

Additional, you can also use FC with docker, details see Run with docker package.

Run

Note

Before run, you will certainly want to have a look for Configuration section to know how to configure different components.

Run with native package

  • fc-server

$ fc-server
  • fc-client

$ fc-client

Note

Two environments should be specified before you run fc-client, this let the client could find correct instance of labgrid-coordinator and fc-server.

export LG_CROSSBAR=ws://$labgrid_server_ip:20408/ws
export FC_SERVER=http://$fc_server_ip:8600
  • fc-guarder

$ fc-guarder

Run with docker package

  • fc-server

$ git clone https://github.com/NXP/fc.git
$ cd fc/docker/fc_server
$ docker-compose up -d
  • fc-client

$ docker run --rm -it atline/fc-client /bin/bash
root@08ab13f5f363:~# fc-client

Note

Two environments should be specified in container before you run fc-client, this let the client could find correct instance of labgrid-coordinator and fc-server.

export LG_CROSSBAR=ws://$labgrid_server_ip:20408/ws
export FC_SERVER=http://$fc_server_ip:8600
  • fc-guarder

$ git clone https://github.com/NXP/fc.git
$ cd fc/docker/fc_guarder
$ docker-compose up -d