Comments (4)
I've had a few other requests to do this too.
It is a fairly complicated dev setup to do ad hoc (like I do). Docker would probably be best.
from stacker.news.
Setting up the lightning daemon (or connection thereto) is lower priority than setting up the database and connecting, etc. You obviously have more familiarity with the setup but I suspect there's the possibility of hooking up the database without the lnd connection but with some DB connection.
If true, that allows testing of the features that don't directly depend on the lightning daemon, like API access, RSS feed updates, etc.
from stacker.news.
You're right, you can run the app without lnd being connected. Off the top of my head, you mostly just need
- a postgres db
- an .env file with the
DATABASE_URL
like
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#using-environment-variables
# Prisma supports the native connection string format for PostgreSQL, MySQL and SQLite.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
# prisma
DATABASE_URL="postgresql://keyan@localhost:5432/stackernews?schema=public"
- run
prisma migrate dev
For next auth there are other bits. I should for sure document this though.
from stacker.news.
We now have a dockerized local dev setup.
from stacker.news.
Related Issues (20)
- Show pubkey of users logged in with Lightning
- Add ability to subscribe to threads HOT 5
- Number of posts shown in top cowboys page is incorrect - Bug HOT 1
- /settings while not authenticated gives an HTTP 500
- UX enhancement request: Ctrl-click on yellow buttons to open in new tab HOT 2
- Dupes check doesn't work for URL with port
- duplicate notifications HOT 1
- Make browser notifications double opt-in
- Improving Free Posts & Free Post Communication
- Pay bounty still visible after bounty was paid HOT 4
- UX: Scrolling to collapsed comments does not uncollapse them HOT 2
- Prediction Markets on SN HOT 7
- Feature Request: Making Advertisements Fun on Stacker News
- Reuse code routes/pages between subs and home
- Cursor jumps to start on first keypress after entering edit mode HOT 2
- Feature Request: New User Email Onboarding
- Feature Request: Permanent Daily Discussion URL
- Twitter login attempt gives "Try signing with a different account." HOT 5
- No mention after markdown link
- Prevent formatting links as markdown links
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stacker.news.