Skip to content

jtl-software/onetimelink_download_server

Repository files navigation

OTL Download Server

Requirements

  • Docker + docker compose
  • NodeJS 10 (current) + npm or yarn

Setup

  1. Run yarn
  2. Enable ESLint in PHPStorm (automatic configuration search can be enabled)
  3. Create a symlink in var/ that points to your OTL-API var/data folder
  4. Configure your app for production using the file config/config.prod.js OR change the config import in src/index.js to config/config.dev for local development
  5. Run sudo docker-compose up

And you're done! You can peek into the running docker container using sudo docker-compose logs -f or look into the logfile located at var/log/app.log to view the server output.

Important note: The base64 payload must not come after the host. The following call would be invalid: http://<my-host>/<base64-payload> Instead, you must preceed the base64 payload with a path like so: http://<my-host>/some-arbitrary-path/<base64-payload>

About

(Optional) Download Server suited for large OTL downloads

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published