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

[suggestion] installing contiki #16

Open
bliz937 opened this issue Jul 2, 2016 · 2 comments
Open

[suggestion] installing contiki #16

bliz937 opened this issue Jul 2, 2016 · 2 comments
Assignees
Milestone

Comments

@bliz937
Copy link

bliz937 commented Jul 2, 2016

Going over p43, 3.1.1, why not provide a one liner to install Contiki.

Have the package installation code block on a file in this repo, or a gist, and have a simple line such as:

curl -s https://raw.githubusercontent.com/marcozennaro/IPv6-WSN-book/master/contiki-install.sh | bash
@alignan
Copy link
Collaborator

alignan commented Jul 2, 2016

If you contribute one, I will be happy to test and include :-)

@bliz937
Copy link
Author

bliz937 commented Jul 2, 2016

The idea is that if things change, people with an old copy of the book will not have problems - assuming the code is maintained.

I don't do bash script often, but I think this is a starting point.

https://gist.github.com/bliz937/32a801e2358e40237cff9c95a9adaeeb

I used

curl -s https://gist.githubusercontent.com/bliz937/32a801e2358e40237cff9c95a9adaeeb/raw/4e8df5474fed78a90e1b516c6fea951f2a1358f6/contiki-install.sh | sudo bash

to run it.

I think it would be better to have this code in the repo as apposed as a gist as I noticed that getting the raw of a gist includes the commit in the url.

edit:
Better yet, have the url as a shortened link (bit.ly, goo.gl) and you can see how often people use it.

@alignan alignan self-assigned this Jul 10, 2016
@alignan alignan added this to the v1.2 milestone Jul 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants