Just merged a massively improved sn development experience. You can now get started contributing by simply running ./sndev start and it spins up the entire project with practically all functionality, loading a significant db seed, creating a regtest lightning network, and mocking things like s3. I tried to make it good enough that even I'll use it (before I would run everything locally outside of containers).
[keyan stackernews]๐ ./sndev help
888
888
888
.d8888b 88888b. .d88888 .d88b. 888 888
88K 888 '88b d88' 888 d8P Y8b 888 888
'Y8888b. 888 888 888 888 88888888 Y88 88P
X88 888 888 Y88b 888 Y8b. Y8bd8P
88888P' 888 888 'Y88888 'Y8888 Y88P
manages a docker based stacker news development environment
USAGE
$ sndev [COMMAND]
$ sndev help [COMMAND]
COMMANDS
help show help
env:
start start env
stop stop env
restart restart env
status status of env
delete delete env
lnd:
fund pay a bolt11 for funding
withdraw create a bolt11 for withdrawal
db:
psql open psql on db
prisma run prisma commands
other:
compose docker compose passthrough
sn_lncli lncli passthrough on sn_lnd
stacker_lncli lncli passthrough on stacker_lnd
./sndev start
and it spins up the entire project with practically all functionality, loading a significant db seed, creating a regtest lightning network, and mocking things like s3. I tried to make it good enough that even I'll use it (before I would run everything locally outside of containers).