8000 GitHub - linna-li/file-management
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

linna-li/file-management

Repository files navigation

file management

Web

Start mysql server(Use docker will be better, but in production, we should have seperate mysql server):

  • brew install mysql@5.7
  • mysql.server start
  • CREATE USER 'file'@'localhost' IDENTIFIED BY 'file'; GRANT ALL PRIVILEGES ON * . * TO 'file'@'localhost'; FLUSH PRIVILEGES;
  • ALTER USER 'file'@'localhost' IDENTIFIED WITH mysql_native_password BY 'file';
  • create database testdb;

Start server:

Start Client:

CLI

  • npm link
  • npm install

Usage of CLI

  • cli-file -c list
  • cli-file -c delete -f 10
  • cli-file -c upload -p 003.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0