software-discovery-tool icon indicating copy to clipboard operation
software-discovery-tool copied to clipboard

SDT Frontend Implementation

Open Apurv428 opened this issue 1 year ago • 11 comments

Apurv428 avatar Jun 18 '24 19:06 Apurv428

Image is borderless on one of the sides, we could adjust it Screenshot 2024-06-22 203932

deveshidwivedi avatar Jun 22 '24 15:06 deveshidwivedi

@Apurv428 Can you provide some precise instructions on how reviewers can test this change, including the dependencies? This will later be worked into the documentation.

pleia2 avatar Jun 27 '24 14:06 pleia2

To test the PR, please run the following commands:

  1. git clone https://github.com/Apurv428/software-discovery-tool.git
  2. cd software-discovery-tool
  3. git checkout sdt-frontend
  4. cd react-frontend
  5. npm i
  6. npm start

Note: You need node installed.

Alternatively, you can directly go to this link to view the current implementation: Link

Apurv428 avatar Jun 27 '24 17:06 Apurv428

Image is borderless on one of the sides, we could adjust it Screenshot 2024-06-22 203932

I'll make the necessary changes. Thanks for pointing it out.

Apurv428 avatar Jun 27 '24 17:06 Apurv428

Hey @Apurv428, still getting errors on setting this up.

deveshidwivedi avatar Jul 05 '24 14:07 deveshidwivedi

@deveshidwivedi Please share the error.

Apurv428 avatar Jul 05 '24 14:07 Apurv428

@Apurv428 This is the one. Commands I ran: git clone https://github.com/Apurv428/software-discovery-tool.git cd software-discovery-tool git checkout sdt-frontend npm i npm start

deveshidwivedi avatar Jul 05 '24 15:07 deveshidwivedi

@Apurv428 This is the one. Commands I ran: git clone https://github.com/Apurv428/software-discovery-tool.git cd software-discovery-tool git checkout sdt-frontend npm i npm start

can you share the error?

Apurv428 avatar Jul 05 '24 16:07 Apurv428

Yes @Apurv428

 npm start

> [email protected] start
> honkit serve

(node:18188) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Live reload server started on port: 35729
Press CTRL+C to quit ...

Starting server ...
info: parsing multilingual book, with 6 languages 
warn: no summary file in this book 
info: 19 plugins are installed 
info: 19 explicitly listed 
info: plugin "hints" is loaded
info: plugin "sidebar-ad" is loaded
info: plugin "intopic-toc" is loaded
info: plugin "sharing" is loaded
info: plugin "exercises" is loaded
info: plugin "@honkit/honkit-plugin-ga" is loaded
info: plugin "sitemap" is loaded
info: plugin "i18nsettings" is loaded
info: plugin "favicon-custom" is loaded
info: plugin "chapter-fold" is loaded
info: plugin "hide-published-with" is loaded
info: plugin "edit-link" is loaded
info: plugin "livereload" is loaded
info: plugin "highlight" is loaded
info: plugin "search" is loaded
info: plugin "lunr" is loaded
info: plugin "fontsettings" is loaded
info: plugin "theme-creative" is loaded
info: plugin "theme-default" is loaded
Error: EPERM: operation not permitted, lstat 'C:\Users\Win\AppData\Local\ElevatedDiagnostics'
    at Object.lstatSync [as statSync] (node:fs:1634:25)
    at C:\Users\Win\node_modules\honkit\lib\fs\node.js:17:39
    at C:\Users\Win\node_modules\immutable\dist\immutable.js:3016:46
    at List.__iterate (C:\Users\Win\node_modules\immutable\dist\immutable.js:2206:13)
    at mappedSequence.__iterateUncached (C:\Users\Win\node_modules\immutable\dist\immutable.js:3015:23)
    at seqIterate (C:\Users\Win\node_modules\immutable\dist\immutable.js:604:16)
    at IndexedSeq.__iterate (C:\Users\Win\node_modules\immutable\dist\immutable.js:320:14)
    at IndexedIterable.forEach (C:\Users\Win\node_modules\immutable\dist\immutable.js:4381:19)
    at C:\Users\Win\node_modules\immutable\dist\immutable.js:2069:14
    at Map.withMutations (C:\Users\Win\node_modules\immutable\dist\immutable.js:1353:7) {
  errno: -4048,
  code: 'EPERM',
  syscall: 'lstat',
  path: 'C:\\Users\\Win\\AppData\\Local\\ElevatedDiagnostics'
}

deveshidwivedi avatar Jul 05 '24 16:07 deveshidwivedi

are you sure you are running in the right folder? because it should come as [email protected] start

Apurv428 avatar Jul 05 '24 16:07 Apurv428

are you sure you are running in the right folder? because it should come as [email protected] start

Oh right. It should be in the react-frontend folder. I can see the draft up now. Could you please update the instructions to cd react-frontend after git checkout sdt-frontend?

deveshidwivedi avatar Jul 05 '24 17:07 deveshidwivedi