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 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
Serve with hot reload at localhost:9080
:
yarn run dev --clefbin path/to/clef
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 electron application for production:
yarn run build
Use --clefbin option to specify location of signer binary. If omitted you can choose it in a dialog box.