Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/otobank/crowi-fileupload-gcs
https://github.com/otobank/crowi-fileupload-gcs
crowi
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/otobank/crowi-fileupload-gcs
- Owner: otobank
- License: apache-2.0
- Created: 2020-07-15T08:05:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-25T14:16:01.000Z (over 2 years ago)
- Last Synced: 2023-02-26T12:31:29.875Z (over 1 year ago)
- Topics: crowi
- Language: TypeScript
- Homepage:
- Size: 329 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crowi-fileupload-gcs
## SetUp
- Set environment variables
- `GOOGLE_CLOUD_PROJECT`
- `GOOGLE_APPLICATION_CREDENTIALS`
- `GOOGLE_CLOUD_STORAGE_BUCKET`## Usage
v1.7.9 現在の Crowi はファイルアップロードモジュールの外部化がまだなので、 `fileUploader.js` を差し替える必要があります。
```bash
npm install crowi-fileupload-gcs
cp node_modules/crowi-fileupload-gcs/dist/fileUploader.js \
lib/util/fileUploader.js
```