- Please make sure your laptop has nodejs v14.0+
- Run
npm install
on the root directory
- Copy
.env.example
to.env
- Fill the
AWS_ACCESS_KEY
ANDAWS_SECRET_KEY
with the object storage keys - Fill the
AWS_ENDPOINT
with your object storage endpoint - Fill the
AWS_BUCKET_NAME
with your desired bucket name - Run
npm install
to install all dependencies - Run
npm run upload
to start uploading file - Run
npm run delete
to delete the file