this post was submitted on 22 Aug 2024
5 points (100.0% liked)

Photon

246 readers
1 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

Share your themes, ask questions, report bugs, or check on the latest updates here!

founded 9 months ago
MODERATORS
 

The readme talks about docker. I’m not a docker user. I did a git clone when I was on a decent connection. ATM I’m not on a decent connection. The releases page lacks file sizes. And MS Github conceals the size:

curl -LI 'https://github.com/Xyphyn/photon/archive/refs/tags/v1.31.2-fix.1.tar.gz' | grep -i 'content-length'

output:

content-length: 0

So instead of fetching the tarball of unknown size, I need to know how to build either the app or the tarball from the cloned repo. Is that documented anywhere?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 weeks ago* (last edited 3 weeks ago)

I can help with this, I'll PR this to the docs later.

You'll need node.js and npm for the minimum node server.

  1. Run npm install to fetch the dependencies.
  2. Build the app with ADAPTER=node npm run build
  3. There should be a new directory, build.
  4. To run the app, do node build/index.js. You can set the documented environment variables, and use PORT= to change the port.