mirror of
https://github.com/laosb/ghos3.git
synced 2025-04-30 23:51:08 +00:00
doc: Update README to use bash style comment.
This commit is contained in:
parent
c4346b852b
commit
79841e3628
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue