Skip to content

dcposch/datpedia

Repository files navigation

datpedia

screen shot 2018-01-27 at 10 10 53 pm

screen shot 2018-01-27 at 10 11 34 pm

screen shot 2018-01-27 at 10 12 06 pm

quick start

  1. get Beaker Browser
  2. using Beaker, go to datpedia.org

code

npm install
npm test
npm start

that should print instructions to get started.

  • scripts contains scripts to download and process Wikipedia dumps
  • www contains the old-web website served at https://datpedia.org
  • app contains the React app that renders peer-to-peer Wikipedia

development setup

Install node or upgrade node. node --version should be v9 or above.

brew install node
brew upgrade node

Install Atom.

Go to Atom > Preferences > Install, then install prettier-atom, flow-ide, and linter-eslint. Restart Atom once these packages finish installing.

Click on Settings for the prettier-atom and make them look like this:

image

Go to the flow-ide settings, set the Flow binary path to <...path to repo...>/node_modules/.bin/flow

Go to the linter-eslint settings, enable format-on-save. Ignore the warning from prettier.

Done! You now have standard-compliant autoformatting, linting, and Flow integration.

You should have the following 10 Atom packages installed:

image

About

dat wikipedia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published