697 B
697 B
/*
- SPDX-FileCopyrightText: 2021 Stefan Begerad stefan@begerad.de
- SPDX-License-Identifier: GPL-3.0-or-later */
Overview
Download file using node.js inbuild packges.
Preparation
Run the following command in your favorite terminal to install dependenies.
npm i
Development setup
Run the following command in your favorite terminal if you fancy log messages for debugging.
export DEBUG=$DEBUG,dload
Run the following command in your favorite terminal to start the service in development mode.
npm run dev
Production deployment
Run the following command in your favorite terminal to start the service for production mode.
npm run start