Skip to content
Web app for Fedora CoreOS Config Transpiler (FCCT) (https://github.com/coreos/fcct).
Vue Python Shell HTML Dockerfile JavaScript Other
Branch: master
Clone or download
Latest commit b06f8da Aug 19, 2019

README.md

fcct-online

Docker Repository on Quay Build Status

Run locally in container

Pull image from quay.io:

$ podman pull quay.io/zonggen/fcct-online:latest
$ podman run -d --name fcct-online -e "PORT=8765" -p 8007:8765 quay.io/zonggen/fcct-online:latest

or build local image:

$ git clone https://github.com/zonggen/fcct-online.git
$ cd fcct-online/
$ podman build -t fcct-online:latest .
$ podman run -d --name fcct-online -e "PORT=8765" -p 8007:8765 fcct-online:latest

The app is now running on http://localhost:8007/

Clean up:

$ podman stop fcct-online
$ podman rm fcct-online

Run locally without container

$ git clone https://github.com/zonggen/fcct-online.git
$ cd fcct-online/ && ./setup.sh --local && cd server
$ python3.7 -m venv env
$ source env/bin/activate
(env)$ pip install -r requirements.txt
(env)$ python app.py

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

Clean up:

$ sed -i -e 's/http:\/\/127.0.0.1:5000\/config\//\/config\//g' src/components/Validator.vue

Resources

Simple Example of Fedora CoreOS Configs:

variant: fcos
version: 1.0.0
passwd:
  users:
    - name: core
      ssh_authorized_keys:
        - ssh-rsa AAAAB3NzaC1yc...
You can’t perform that action at this time.