It was relatively complicated to get a local dev environment up and running so I was asked to dockerize it. I've updated the
README
on the repo but the important bits:- Install docker-compose and deps if you don't already have it installed
git clone git@github.com:stackernews/stacker.news.git sn && cd sn
docker-compose up --build
You should then be able to access the site at
localhost:3000
and any changes you make will hot reload. If you want to login locally or use lnd you'll need to modify .env.sample
appropriately. If you have trouble please open an issue so I can help and update the README
for everyone else.
prisma.queryRaw()
invocation:db
: the URL must start with the protocolpostgresql://
orpostgres://
. --> schema.prisma:6 | 5 | provider = "postgresql" 6 | url = env("DATABASE_URL") |.env.sample
file..env.sample
indocker-compose.yml
to./.env.sample
and tell me if that works? I suspect there's some implementation difference in docker across OS's but it might also be silently failing while parsing the file like @spraveenitpro is experiencing.