mirror of
https://github.com/laosb/ghos3.git
synced 2025-04-30 23:51:08 +00:00
Updated installation instructions on README.md.
This commit is contained in:
parent
babad2cea9
commit
c4346b852b
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -17,9 +17,23 @@ On my blog [_The Base_](https://base.of.sb), I use [Cloudflare R2](https://www.c
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
// Install ghos3 package
|
||||||
npm install ghos3
|
npm install ghos3
|
||||||
|
|
||||||
|
// Create directory to storage adapter
|
||||||
mkdir -p ./content/adapters/storage
|
mkdir -p ./content/adapters/storage
|
||||||
|
|
||||||
|
// 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
|
||||||
|
rm -Rf node_modules package-lock.json package.json
|
||||||
|
|
||||||
|
// Move to s3 storage folder
|
||||||
|
cd ./content/adapters/storage/s3
|
||||||
|
|
||||||
|
// Resolve dependencies
|
||||||
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
Loading…
Add table
Reference in a new issue