gagu
v0.0.60
Published
A web-based file management system
Downloads
607
Readme
📦 Getting started
GAGU is published on NPM, so install Node.js on your device first.
You need to install ffmpeg and GraphicsMagick to support thumbnail api.
# Install with NPM
$ npm i -g gagu
# Show help info
$ gagu -hDefault admin account:
Username: gagu
Password: 9293🛠 Development
Only the pnpm-lock.yaml file is uploaded in the project, so using pnpm instead of npm to install dependencies can ensure that our running results in the development environment are consistent.
# install dependencies
pnpm iGAGU app code consists of two parts: ./gagu-back-end and ./gagu-front-end.
# Back-end
$ cd gagu-back-end
$ pnpm start:dev
# Front-end
$ cd gagu-front-end
$ pnpm startGAGU website code is in ./gagu-website.
$ cd gagu-website
$ pnpm start🔨 Build NPM package
- Update following version info:
version fieldin ./package.jsonGAGU_VERSIONin ./gagu-back-end/src/shared/utils/constant.util.ts
Sync dependencies in ./gagu-back-end/package.json to ./package.json.
Run build script
npm run build:npm, refer to ./build-npm.sh.Dry run publish, update package size info, publish to NPM.
⭐️ Star History
📜 License
The MIT license.
