doc: Update README to use bash style comment.

This commit is contained in:
Shibo Lyu 2024-03-28 16:23:34 +08:00 committed by GitHub
parent c4346b852b
commit 79841e3628
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,22 +17,22 @@ On my blog [_The Base_](https://base.of.sb), I use [Cloudflare R2](https://www.c
## Installation ## Installation
```bash ```bash
// Install ghos3 package # Install ghos3 package
npm install ghos3 npm install ghos3
// Create directory to storage adapter # Create directory to storage adapter
mkdir -p ./content/adapters/storage mkdir -p ./content/adapters/storage
// Copy package files to s3 storage folder # Copy package files to s3 storage folder
cp -r ./node_modules/ghos3/* ./content/adapters/storage/s3 cp -r ./node_modules/ghos3/* ./content/adapters/storage/s3
// Remove unnecessary files generated from ghos3 installation # Remove unnecessary files generated from ghos3 installation
rm -Rf node_modules package-lock.json package.json rm -Rf node_modules package-lock.json package.json
// Move to s3 storage folder # Move to s3 storage folder
cd ./content/adapters/storage/s3 cd ./content/adapters/storage/s3
// Resolve dependencies # Resolve dependencies
npm install npm install
``` ```