To run the app locally check out our download guide or install directly from the command line using Homebrew Cask. Currently only MacOS is supported.
$ brew update && brew cask install dat
$ npm install # install dependencies
$ npm start # start the application
$ npm run dist # compile the app into an ASAR file to release
$ npm start --dat=<dir> # change the path for new dat archives (default ~/Downloads)
elements/ Standalone application-specific elements
lib/ Generalized components, should be moved out of project later
models/ Choo models
pages/ Views that are directly mounted on the router
public/ Various assets
scripts/ Various scripts used to build and manage the repository
app.js Client application entry file
index.html Initial HTML served
index.js Electron application entry
If you’re not in Europe or the US, you might want to use a different mirror for electron
.
You can set the ELECTRON_MIRROR
variable to point to a different provider:
# Europe / US
$ npm install
# Asia / Oceania
$ ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/" npm install
MIT
SourceSansPro-Regular.ttf: Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. SIL Open Font License, 1.1
SourceCodePro-Regular.ttf: Copyright 2010, 2012 Adobe Systems Incorporated. All Rights Reserved. SIL Open Font License, 1.1