filemanager icon indicating copy to clipboard operation
filemanager copied to clipboard

Step by step guide to use

Open MasterCna opened this issue 6 years ago • 2 comments

hello everyone, I'm quite new to react and I wanted to use this filemanager in my simple project. I really confiused that how can I get the exact result in my project. Can anyone guide me step by step installing and running the filemanager? Thanks in advance

MasterCna avatar Jan 06 '19 14:01 MasterCna

Now sure about step by step guide, but you can ask more concrete questions here.

Run server:

npm install --save @opuscapita/filemanager-server

then see example https://github.com/OpusCapita/filemanager/blob/master/packages/demoapp/index.js

Web UI:

https://github.com/OpusCapita/filemanager#how-to-use-client-react

kvolkovich-sc avatar Jan 07 '19 09:01 kvolkovich-sc

Thanks, when I run npm start this log shows:

> @opuscapita/[email protected] start F:\Deisgn\SEGAL_PANEL\node_modules\@opuscapita\filemanager-server
> npm run prepare-demo && cross-env NODE_ENV=development node start.js


> @opuscapita/[email protected] prepare-demo F:\Deisgn\SEGAL_PANEL\node_modules\@opuscapita\filemanager-server
> rimraf test-files && mkdirp test-files && cross-env ../../demo-filesystem/populate-demo-fs.sh ./test-files

The system cannot find the path specified.
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: spawn ../../demo-filesystem/populate-demo-fs.sh ENOENT
    at notFoundError (F:\Deisgn\SEGAL_PANEL\node_modules\@opuscapita\filemanager-server\node_modules\cross-spawn\lib\enoent.js:11:11)
    at verifyENOENT (F:\Deisgn\SEGAL_PANEL\node_modules\@opuscapita\filemanager-server\node_modules\cross-spawn\lib\enoent.js:46:16)
    at ChildProcess.cp.emit (F:\Deisgn\SEGAL_PANEL\node_modules\@opuscapita\filemanager-server\node_modules\cross-spawn\lib\enoent.js:33:19)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @opuscapita/[email protected] prepare-demo: `rimraf test-files && mkdirp test-files && cross-env ../../demo-filesystem/populate-demo-fs.sh ./test-files`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @opuscapita/[email protected] prepare-demo script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\iran\AppData\Roaming\npm-cache\_logs\2019-01-12T14_15_25_578Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @opuscapita/[email protected] start: `npm run prepare-demo && cross-env NODE_ENV=development node start.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @opuscapita/[email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\iran\AppData\Roaming\npm-cache\_logs\2019-01-12T14_15_25_608Z-debug.log

MasterCna avatar Jan 12 '19 14:01 MasterCna