sandbox-axios/axios-auth/README.md

29 lines
697 B
Markdown
Raw Normal View History

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