File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ wget https://github.com/andrecrjr/cool-copyparty-front/releases/latest/download/
1111# Unzip it
1212unzip copyparty-front.zip
1313
14+
1415# Set environment variables (at minimum a strong cookie secret, and your desired port)
15- COOKIE_SECRET=your-long-random-secret PORT=3925 NODE_ENV=production node server.js
16+ COOKIE_SECRET=$( openssl rand -base64 32 ) PORT=3925 NODE_ENV=production node copyparty-front/ server.js
1617
1718# Open http://localhost:3925 and log in with your CopyParty server URL and password.
1819```
@@ -49,7 +50,7 @@ You can self-host in two ways: using a prebuilt ZIP from Releases (standalone bu
49502 . Unzip it: ` unzip copyparty-front.zip ` (this creates ` copyparty-front/ ` ).
50513 . Change into the standalone bundle: ` cd copyparty-front/.next/standalone ` .
51524 . Set environment variables (at minimum a strong cookie secret, and your desired port):
52- - macOS/Linux: ` COOKIE_SECRET=your-long-random-secret PORT=3925 NODE_ENV=production node server.js `
53+ - macOS/Linux: ` COOKIE_SECRET=$(openssl rand -base64 32) PORT=3925 NODE_ENV=production node server.js `
5354 - Windows (PowerShell): ` $env:COOKIE_SECRET="your-long-random-secret"; $env:PORT="3925"; $env:NODE_ENV="production"; node server.js `
54555 . Open ` http://localhost:3925 ` and log in with your CopyParty server URL and password.
5556
You can’t perform that action at this time.
0 commit comments