downloads dashboard
Welcome! :)
How to manually install
Prerequisites: Node, Yarn, Go.
cd ~/<projects_folder>
git clone https://github.com/stenowtf/dd.git
cd dd/dd-client
yarn install
ornpm install
yarn start
ornpm start
cd $GOPATH/src/github.com/stenowtf
ln -s ~/<projects_folder>/dd/dd-server dd-server
go get gopkg.in/gorethink/gorethink.v3 github.com/gorilla/websocket github.com/mitchellh/mapstructure
cd dd-server && go run *.go
brew update && brew install rethinkdb && rethinkdb
- Navigate to:
http://localhost:8080/#dataexplorer
and run this two commands:r.dbCreate('dd');
r.db('dd').tableCreate('downloads');
- Finally open
http://localhost:3000
and enjoy!
How to install using Docker
cd ~/<projects_folder>
git clone https://github.com/stenowtf/dd.git
cd dd
git checkout docker
docker-compose up
- Open
http://localhost:3000
and enjoy!
Description
Once you opened http://localhost:3000
you can see a map area and a section with the graphs:
On the map, you can click on it to simulate a download, but you can also use the linkon the upper right to generate more random data.
There are graphs that represent the total downloads by country, by time of the day, by operating system, and by version of the app.
Of course, you can open two different tabs and see real-time changes.
FAQs
Q. I get ReferenceError: google is not defined
. What's going on?
A. Networking error, try to refresh the page.