Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Latest commit

 

History

History
60 lines (38 loc) · 1.32 KB

README.md

File metadata and controls

60 lines (38 loc) · 1.32 KB

cleftron

An electron-vue project to serve as a UI for Clef.

This is PRE-RELEASE software. Use at your own risk, or, preferably, just don't use this yet.

Install

Install dependencies:

yarn

Note, you may hit this issue:

ERROR: There are no scenarios; must have at least one.

That means you're using the wrong yarn, and have to do apt remove cmdtest, then

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt install yarn

Develop

Serve with hot reload at localhost:9080:

yarn run dev --clefbin path/to/clef

Editor

We recommend adding eslint and prettier to your editor for an enjoyable coding experience.

apm install language-vue linter linter-ui-default linter-eslint prettier-atom

In package settings for prettier-atom, enable Format Files on Save.

Build

Build electron application for production:

yarn run build

Run

Use --clefbin option to specify location of signer binary. If omitted you can choose it in a dialog box.