Desktop app for Dat. Install instructions.
Visit the Dat installation page for download instructions. Currently only MacOS is supported.
$ 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 Europe / 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