- install ipfs (https://ipfs.io/)
ipfs init
ipfs daemon
- allow CORS for localhost ipfs server
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"http://localhost:3449\"]"
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods "[\"PUT\", \"GET\", \"POST\"]"
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials "[\"true\"]"
- cljs
- start figwheel
lein run -m clojure.main --init scripts/figwheel.clj
- start figwheel
Drag files into the app to add them