You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Be sure to have NodeJS >= 12
$ node -v
v12.4.0
# Download and extract latest release package from# https://github.com/psi-4ward/psitransfer/releases# Install dependencies and start the app
$ NODE_ENV=production npm install
$ npm start
Manual, from source
# Compile the frontend apps
$ cd app
$ npm install
$ npm run build
# Install dependencies
$ cd ..
$ npm install
$ npm start
Configuration
There are some configs in config.js like port and data-dir.
You can:
Edit the config.js(not recommend)
Add a config.production.js where production is the value from NODE_ENV
See config.dev.js
Define environment Variables like PSITRANSFER_UPLOAD_DIR to set the upload directory
To secure your PsiTransfer if exposed to the internet from unwanted, non authorized uploads use the PSITRANSFER_UPLOAD_PASS environment variable
Customization
public/pug/upload.pug and download.pug are kept simple.
You can alter these files and add your logo and styles.
Please keep a footnote like Powered by PsiTransfer :)