Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zrrrzzt/choo-gun-leveldb-test
Test to make a happy family of choo, gun and level-db
https://github.com/zrrrzzt/choo-gun-leveldb-test
Last synced: about 1 month ago
JSON representation
Test to make a happy family of choo, gun and level-db
- Host: GitHub
- URL: https://github.com/zrrrzzt/choo-gun-leveldb-test
- Owner: zrrrzzt
- License: mit
- Created: 2018-01-13T09:56:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-05T11:23:20.000Z (8 months ago)
- Last Synced: 2024-08-01T12:32:49.828Z (4 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - zrrrzzt/choo-gun-leveldb-test - Test to make a happy family of choo, gun and level-db (others)
README
# choo-gun-leveldb-test
Test to make a happy family of [choo](https://choo.io), [gun](https://github.com/amark/gun) and levelDB ([gun-level](https://github.com/PsychoLlama/gun-level))
It is a bit hacky, but it kind of works
## Setup
Clone the repo and do `npm install`
After the installation you have to do a couple of small adjustments to the gun-level module.
`node_modules/gun-level/dist/index.js`
In line 7 change `var _gun = require('gun/gun');` to `var _gun = require('gun');`
`node_modules/gun-level/dist/Adapter/index.js`
In line 23 change `var _gun = require('gun/gun');` to `var _gun = require('gun');`
Now you're ready and can run `npm start`and visit [localhost:8080](https://localhost:8080)
## Known problems
`bankai`will stop everytime you do a code change with live reload due to a LOCK from levelDB
Just do another `npm start`and you're back up
## License
[MIT](LICENSE)