GithubHelp home page GithubHelp logo

treehouses / treehouses.github.io Goto Github PK

View Code? Open in Web Editor NEW
131.0 72.0 107.0 53.66 MB

A Markdown Wiki for treehouses 🏑

Home Page: http://treehouses.io

JavaScript 27.59% HTML 72.13% Shell 0.28%
treehouses raspberry-pi docker couchdb hacktoberfest

treehouses.github.io's Introduction

Welcome to treehouses

Website treehouses.io Gitter chatroom

What is treehouses?

treehouses is the name of our system allowing us to share our different learning platforms via the Raspberry Pi series of single-board computer devices.

Currently the Raspberry Pi models supported are: the zero W, the Pi 3, the Pi 3B+ and the Pi 4

Main system branches

treehouses consists of several parts:

cli

We have created our suite of commands to be used in the Raspberry Pi terminal, which can be found in treehouses/cli

npm i @treehouses/cli

builder

This is where our modified Raspberry Pi images are created: treehouses/builder.

remote

Currently in remote, we are developing an Android app which allows Android phones and tablets interact with the terminal of the Raspberry Pi over Bluetooth: treehouses/remote.

treehouses.github.io's People

Contributors

ali18997 avatar anthonyhvo12 avatar arranhl avatar calebprovost avatar darthnoward avatar dogi avatar evoong avatar fankaiyuan avatar farzana184 avatar irisb1701 avatar jamjakpa avatar jlkwong avatar kjong avatar law-lin avatar liew211 avatar lordjashin32 avatar matthewmarroquin avatar nida8930 avatar pattanawadee88 avatar phamduchongan93 avatar rcw2000 avatar rohansuri17 avatar sarahrams avatar sravya71 avatar sriharivishnu avatar sydneyaldo avatar vkabc avatar vmnet8 avatar warthog16 avatar xavierelon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

treehouses.github.io's Issues

new blog structure

move existing blogs to new directory

pages/blog/blog.md

each blog should get its own folder based on date eg. pages/blog/20190816/

Host key verification failed error

This is error is prompted during the ssh login attempt after the RSP4 booted with a new tree houses image. I was using PC as ssh client.

User won't be able to login to the RP4. The following command will fail to execute
ssh -v [email protected]

add check if sshkeys are in the right place

when following Step 2 and trying to ssh root@[local ip] into my raspberry pi I am asked for a password. Not sure what the password is as the guide does not say. (raspberry did not work as the password for ssh root@[local ip] but does work for ssh pi@[local pi])

image

Possible content add for git checkout

https://treehouses.io/#!./pages/vi/github-issues.md Looking at create a new branch section. The instruction is clear as glass.

But, as a person who works on two or more PRs before the approval of the merging, I always forget to switch back to master branch before creating a new branch.
I suggest that we add the git checkout -b <new_branch_for_PR> master command in the tutorial. It will prevent us from branching from a current working branch. Then, we can freely switch branches by git checkout <branche_name> and work on our commit.

git checkout master command error

Using git bash, users may be unable to change the branch.

git checkout master
error: pathspec 'master' did not match any file(s) known to git
hint: 'master' matched more than one remote tracking branch.
hint: We found 2 remotes with a reference that matched. So we fell back
hint: on trying to resolve the argument as a path, but failed there too!
hint:
hint: If you meant to check out a remote tracking branch on, e.g. 'origin',
hint: you can do so by fully qualifying the name with the --track option:
hint:
hint:     git checkout --track origin/<name>
hint:
hint: If you'd like to always have checkouts of an ambiguous <name> prefer
hint: one remote, e.g. the 'origin' remote, consider setting
hint: checkout.defaultRemote=origin in your config.

While following the repository guide, https://treehouses.io/#!pages/vi/gitrepositories.md, I encounter issue above. As changing branches was meant to be applied on my remote repo which is a fork version of the treehouses, but git seems to fail to change the branch.

$ git checkout
Your branch is up to date with 'origin/create-branch-treehouse_fork'

Also, here is the proof that I name the repo correctly.

git remote -v
origin  https://github.com/phamduchongan93/phamduchongan93.github.io.git (fetch)
origin  https://github.com/phamduchongan93/phamduchongan93.github.io.git (push)
upstream        https://github.com/treehouses/treehouses.github.io.git (fetch)
upstream        https://github.com/treehouses/treehouses.github.io.git (push)

fix link

link in picture below goes to "sorry, page you are looking for doesn't exist" error
image

Here is a picture of the error page:
image

I suggest to edit the link so it goes to the proper page

Add stop Docker container clarification for Nextcloud (Step 7)

In order to avoid containers from conflicting and causing issues with tor loading Nextcloud, if would be helpful to add a clarification clause to:

Now that the container has been created, you can stop and start it with docker stop nextcloud and docker start nextcloud. To view all running and stopped containers, run docker ps -a.

Something like:

Note: use docker stop <container> on any running containers other than Nextcloud.

Wording on Step 6 a little confusing.

This is a small issue, but on step 6, it says this- "Therefore, open a command line and open your username.github.io repository on the GitHub user interface. You then need to copy the link provided in the repository.
Then, turn to your command prompt and type your repository URL in the form of git clone https://github.com/EmilyLarkin/EmilyLarkin.github.io.git into the command line. Be sure to use the correct URL to clone your repository (you will obviously type your own username). "

So first we copy the url to clone it, but then it goes on to say "type git clone https://github.com/EmilyLarkin/EmilyLarkin.github.io.git" This is somewhat confusing because it sounds like we need to type just that with our name and the copy we made of the url isn't needed yet. My clone wasn't called this, so if I typed this with my name it wouldn't work. Maybe it should say something like, type git clone and then paste the url you copied. Just an idea to make it a little more clear!

add flowchart

In step 6 "GitHub Issues" there is a missing flowchart diagram. I suggest adding a diagram in place of the "NEED DIAGRAM HERE" text (see picture below)
image

here is the flowchart I have drafted:
image

DebianforWindowsIssue

The First Steps for System VI's does needs a Debian for Windows instruction section

edit text in issues

Edit the reasons why an issue may be denied. currently the formatting is off where some words are italicized others are not and there is a random line break

image

Fix treehouses.github.io link

Currently treehouses.github.io repository link is pointing to https://github.com/treehouses.github.io it needs to be pointed to https://github.com/treehouses/treehouses.github.io

Command missing from Step 7 (Nextcloud)

The command to start the tor service which allows users to access Nextcloud is missing.

Start up Tor
As we have run Nextcloud on port 8080, that's the port that we will have to open up with Tor. >While still in the root of treehouses, run treehouses tor add 80 8080, treehouses tor notice on, >then treehouses tor to find the tor address. You should see something like this:

Should be:

Start up Tor
As we have run Nextcloud on port 8080, that's the port that we will have to open up with Tor. >While still in the root of treehouses, run treehouses tor add 80 8080, treehouses tor notice on, >treehouses tor (to find the tor address), and then treehouses tor start. You should see something like this:

SSH clarity for Step 7 (Nextcloud).

Step 2 walks through how to set up the SSH keys and then step 7 (Nextcloud) requires a fresh image with a rewrite to autorunonce. There's no mention on readding the prior made key back into the RPi, yet it requests that the user ssh into the RPi which can prompt an error.

I feel it would be beneficial to add:

"If you encounter an SSH error such as

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@> > @@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@> @@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:nVgL71cf8dHCqarTM8ld4wVvaAnE+vMEn+bFRbL+EPQ.
Please contact your system administrator.
Add correct host key in /home/hipr/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/hipr/.ssh/known_hosts:1
  remove with:
  ssh-keygen -f "/home/hipr/.ssh/known_hosts" -R 192.168.1.189
ECDSA host key for 192.168.1.189 has changed and you have requested strict checking.
Host key verification failed.

then proceed to run the command ssh-keygen -f "/home/username/.ssh/known_hosts" -R <local ip-address>, followed by sudo treehouses sshkey add "SSH key" to reinsert your ssh made in step 2."

Thoughts?

Add content for "Introductory Step"

I have been using this WSL for a while and see that it has offer a real terminal experience as well as built in git and common editors. As a part of Setting up your environment for window device, this WSL is essential for command tools for developers. Couple command lines will quickly get this WSL running. @ArranHL @dogi @lmmrssa.

Is it possible that we can add an installation guide for this tool other than putty or git bash?
Raw Git Hack file I want to add.

Setting up your environment

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.