Skip to content

Commit

Permalink
fix: use blockstore-fs (#136)
Browse files Browse the repository at this point in the history
Use a filesystem blockstore to put the files in the filesystem, and
a level datastore to put the data in the database.
  • Loading branch information
achingbrain authored Apr 10, 2024
1 parent 0255068 commit d8fd1c6
Show file tree
Hide file tree
Showing 6 changed files with 2,143 additions and 1,372 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ $ npm start
<!--
TODO: currently broken when used in docker, but they work when running locally (you can cache datastore and blockstore locally to speed things up if you want)
| `FILE_DATASTORE_PATH` | Path to use with a datastore-level passed to Helia as the datastore | `null`; memory datastore is used by default. |
| `FILE_BLOCKSTORE_PATH` | Path to use with a blockstore-level passed to Helia as the blockstore | `null`; memory blockstore is used by default. |
| `FILE_BLOCKSTORE_PATH` | Path to use with a blockstore-fs passed to Helia as the blockstore | `null`; memory blockstore is used by default. |
-->

See the source of truth for all `process.env.<name>` environment variables at [src/constants.ts](src/constants.ts).
Expand Down
Loading

0 comments on commit d8fd1c6

Please sign in to comment.