- node (tested on node v12)
- yarn
yarn
echo '
PORT=8080
UPLOADS_PATH=uploads/
POST_PROCESSING_CMD=php ./post_processor_example.php
ERRORS_LOG=./errors.log
' > .env
node server.js
To keep alive forever:
yarn global add forever forever-service
sudo forever-service install upload_server -s server.js
sudo service upload_server start