badlogic / ledit2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ledit2

A read-only client for Reddit, Hackernews, lobst.rs, and RSS/Atom feeds.

Development

  1. Install & run Docker
  2. Install NodeJS +19
  3. Set an environment variable called LEDIT_DB_PASSWORD to a password of your choice.
npm run dev

In VS Code run the dev launch config to connect to the Node server via the debugger, and spawn a Chrome instance for frontend debugging.

Deployment

Deployment is tailored towards my setup, see publish.sh. If your setup is similar (VPS/root server + Docker + nginx-proxy + lets-encrypt-companion), then you can modify the host and hostDir fields in package.json to deploy to your own infrastructure.

  1. Deploy backend & frontend: ./publish.sh server
  2. Deploy just the frontend: ./publish.sh

About

License:BSD 2-Clause "Simplified" License


Languages

Language:TypeScript 60.6%Language:Jupyter Notebook 33.7%Language:JavaScript 2.4%Language:HTML 1.4%Language:CSS 1.0%Language:Shell 0.9%Language:Dockerfile 0.0%