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

Can you explain how to copy/install, please? #1

Open
bgarr33434 opened this issue Jun 29, 2018 · 4 comments
Open

Can you explain how to copy/install, please? #1

bgarr33434 opened this issue Jun 29, 2018 · 4 comments

Comments

@bgarr33434
Copy link

Your comment in the forum is not enough for folks, like me, because there is so much assumed. Could you just respond with something like

  1. clone to a folder under the /etc/skills folder
  2. add the following lines to <?filename>
    3....
    which would be awesome for a lot of us.
@Red5d
Copy link
Owner

Red5d commented Jun 29, 2018

I assume you mean this forum thread comment? https://community.mycroft.ai/t/reloading-skills-skills-watch/1847/3 It only assumes that the reader knows how to install mycroft skills and add sudo permissions on a Linux system.

Clone this repo locally somewhere, then copy the devhelper folder to the skills folder in your mycroft device/installation.

To get the "reboot" and "reload" commands to work, add the following line to your /etc/sudoers file:

mycroft ALL=(ALL) NOPASSWD: /bin/systemctl,/sbin/reboot

This gives the "mycroft" user access to run /bin/systemctl and /sbin/reboot as root.

@bgarr33434
Copy link
Author

bgarr33434 commented Jun 30, 2018 via email

@bgarr33434
Copy link
Author

bgarr33434 commented Jun 30, 2018 via email

@Red5d
Copy link
Owner

Red5d commented Jun 30, 2018

As long as the folder for this skill is placed in the skills folder and you restart Mycroft (or at least the mycroft-skills service), it should pick it up automatically.

Mycroft has some good documentation including this page on its different components: https://mycroft.ai/documentation/mycroft-software-hardware/

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

No branches or pull requests

2 participants