- Clone the repo.
- Install dependencies
yarn install- Start the development server
yarn startOkay, it's going to get a little weird here.
- Create a new Dat site in your Beaker Browser library.
- Rename
config-sample.jstoconfig.js, uncomment the file, and add your Dat url to the variable. - Replace the contents of
dat.jsonwith your newdat.json - Run a build in a separate window
yarn run build- Add the contents from your
/buildfolder 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.