Pull image from quay.io:
$ podman pull quay.io/zonggen/fcct-online:latest
$ podman run -d --rm --name fcct-online -p 8007:8007 quay.io/zonggen/fcct-online:latest
or build local image:
$ git clone https://github.com/coreos/fcct-online.git
$ cd fcct-online/
$ podman build -t fcct-online:latest .
$ podman run -d --rm --name fcct-online -p 8007:8007 fcct-online:latest
The app is now running on http://localhost:8007/
$ podman stop fcct-online
$ git clone https://github.com/coreos/fcct-online.git
$ cd fcct-online/
$ make setup && make build
$ ./server/fcct-online --debug
In another terminal tab/window:
$ cd client
$ npm install
$ sed -i -e 's/\/config\//http:\/\/127.0.0.1:5000\/config\//g' src/components/Validator.vue
$ npm run serve
The app is now running on http://localhost:8080
$ sed -i -e 's/http:\/\/127.0.0.1:5000\/config\//\/config\//g' src/components/Validator.vue
Simple Example of Fedora CoreOS Configs:
variant: fcos
version: 1.0.0
passwd:
users:
- name: core
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc...