Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display tutorials in a view #629

Open
orangecms opened this issue Oct 10, 2020 · 12 comments
Open

display tutorials in a view #629

orangecms opened this issue Oct 10, 2020 · 12 comments
Labels

Comments

@orangecms
Copy link
Collaborator

Currently, the app doesn't tell much itself how to use the board etc. We have some views showing the front and back.

Idea: Add an entry to the menu to shows the tutorials from docs.pslab.io :)

@ritik307
Copy link

ritik307 commented Jan 3, 2021

@orangecms hey, I would like to work on this issue can you please elaborate about it a little. showing example image on how you want it to look like would be a great help

@orangecms
Copy link
Collaborator Author

Sure :) A simple way to go about this is to render an iframe and embed the docs page in it. There is a menu (the burger menu on the top left) where you can add the navigation entry. The other option is to open a new window, like the "Buy PLSab" entry does.

@ritik307
Copy link

ritik307 commented Jan 4, 2021

@orangecms thanks for the explaination. I will start working on it . Can you please assign it to me.

@ritik307
Copy link

ritik307 commented Jan 4, 2021

@orangecms Sir while running the application using npm start I get the following error can you please help me out in figuring what the issue really is. I have tried uninstalling and installing node again but it still didn't work

[0] ''npm' is not recognized as an internal or external command,
[0] operable program or batch file.
[1] 'run' is not recognized as an internal or external command,
[1] operable program or batch file.
[2] 'react-start'' is not recognized as an internal or external command,
[2] operable program or batch file.
[3] ''wait-on' is not recognized as an internal or external command,
[3] operable program or batch file.
[4] 'http:' is not recognized as an internal or external command,
[4] operable program or batch file.
[2] react-start' exited with code 1
[1] run exited with code 1
[0] 'npm exited with code 1
[4] http://localhost:3000/ exited with code 1
[3] 'wait-on exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: concurrently 'npm run react-start' 'wait-on http://localhost:3000/ && npm run electron-start'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@orangecms
Copy link
Collaborator Author

What's your OS? How did you set up npm?

@ritik307
Copy link

ritik307 commented Jan 4, 2021

@orangecms I was running the code on windows. I forked and cloned the repo as I already have nodejs installed so I executed npm start command to run the application in the pslab-desktop folder.

@orangecms
Copy link
Collaborator Author

Okay, @Abhijay007 is also having trouble with the setup on Windows.

I suggest running the two scripts that are run through concurrently separately, just manually. So, in one terminal, npm run react-start, and in another, npm run electron-start.

@orangecms
Copy link
Collaborator Author

If the two of you can figure out a fix for the setup on Windows, that would also be great to share with others. Feel free to open issues here and post details on your setup; i.e., how exactly you installed Node and npm, what your PATH looks like, whether you use WSL or possibly WSL 2, how you set that up, and so on. It is a bit complex on Windows, unfortunately; sorry for the mess.

@Abhijay007
Copy link
Contributor

If the two of you can figure out a fix for the setup on Windows, that would also be great to share with others. Feel free to open issues here and post details on your setup; i.e., how exactly you installed Node and npm, what your PATH looks like, whether you use WSL or possibly WSL 2, how you set that up, and so on. It is a bit complex on Windows, unfortunately; sorry for the mess.

ok @orangecms sir, we will try to solve this error together

@ritik307
Copy link

ritik307 commented Jan 4, 2021

@orangecms sir I have tried running the application with npm run react-start and npm run electron-start in different WSL terminals but it's still showing error

error-plabs

@Abhijay007
Copy link
Contributor

@orangecms sir I have tried running the application with npm run react-start and npm run electron-start in different WSL terminals but it's still showing error

error-plabs

@ritik307, I am getting this same error

@orangecms
Copy link
Collaborator Author

I have created #663 so that you can keep the discussion there, since this issue here is not related and about the tutorials view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants