- Clone the repo.
- Install dependencies
yarn install
- Start the development server
yarn start
Okay, it's going to get a little weird here.
- Create a new Dat site in your Beaker Browser library.
- Rename
config-sample.js
toconfig.js
, uncomment the file, and add your Dat url to the variable. - Replace the contents of
dat.json
with your newdat.json
- Run a build in a separate window
yarn run build
- Add the contents from your
/build
folder to your new site's library. The output should look something like this:
- You should be able to navigate to your localhost address now, and still pull posts/data from your dat site.