From ce225a4d59ca8713baf3c956179cb9783b30363c Mon Sep 17 00:00:00 2001 From: Karissa McKelvey Date: Mon, 11 Jan 2016 00:29:42 -0800 Subject: move tech docs to index --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index a8f5ea9..d034973 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,28 @@ Documentation resources for upcoming [dat](https://github.com/maxogden/dat) 1.0 release and the surrounding ecosystem. +## Hosting + +By default, dat looks to host on port 3282, and if taken, will choose a random open port. + +## Hidden folder + +Dat stores its data in a hidden folder that is stored by default in the user's home directory. + +``` +~/.dat +``` + +Because of this, data is only ever downloaded once. That is, if you have multiple projects that use the same data (perhaps at different versions) on the same machine, dat will first check the global `.dat` folder. + +The global `.dat` folder has inside: + +``` +$ ls ~/.dat +db +config.json +``` + ## Dat dependency overview #### [hyperdrive](https://github.com/mafintosh/hyperdrive) @@ -11,3 +33,4 @@ The file sharing network dat uses to distribute files and data. A technical spec #### [discovery-channel](https://github.com/maxogden/discovery-channel) This is the module dat uses to find peers on the local network or the internet who are sharing the same files and data that you are. + -- cgit v1.2.3