stew / codebase-ui

Unison Codebase UI

Home Page:https://github.com/unisonweb/codebase-ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unison Codebase UI

CI

Running

  1. Start ucm and copy the API URL and API Token (this URL is uniquely generated by ucm at start-up) from the ucm start-up output (It's formatted as a single URL with a query string. Get the token by from the query string, splitting on the ?).

  2. Make sure the latest dependencies are installed with by running npm install

  3. Start the development server, run: API_URL="<API URL FROM UCM>" API_TOKEN="<API TOKEN FROM UCM>" npm start

  4. Visit http://localhost:8000 in a browser.

Generating Icon Sprite

To add new icons, copy the svg markup to the /public/img/icons.svg file with a wrapping <symbol> tag with an id. The color (fill or stroke) of the shape must be currentColor.

Additionally new icons added needs a new variant in /src/UI/Icons.elm.

This whole process is manual and not amazing, but happens rarely.

About

Unison Codebase UI

https://github.com/unisonweb/codebase-ui

License:MIT License


Languages

Language:Elm 80.3%Language:CSS 18.9%Language:JavaScript 0.4%Language:HTML 0.4%