Cloning workspace from github including installations

workspace
github

#1

Hi,

I want to set up a workspace including additional installations that my students will be able to clone and play around with - without ruining my original one. I was advised to do it via github. Can anyone who has done something similar describe the process? My context is that I’m teaching a class and want to set up labs and provide them to the students.
So I will need to add a couple of installs and setup steps. Also, I’m looking for a workflow that will not require from them to have a credit card.

Thanks,
Moshe


#2

Hi
you need to create a bash script that does changes you want, put that in git repo and instructions for running it in README.md
Cloud9 will open README.md file after workspace is cloned, and students will only need to copy a command from readme and run it in the terminal.


#3

Also, I’m looking for a workflow that will not require from them to have a credit card.

You should look at the Cloud 9 plans. Like Team or School.


#4

Hi,
I tried to follow your suggestion, but not successfully so far. I have opened a public git repository. Then I set up another account to imitate student’s account. When I tried to create a new workspace from git and gave my repository’s URL I got an error saying: “Please upload your public Cloud9 SSH key (found on your profile page) to your repository provider before cloning.” What does this mean? The students were not supposed to have github, but pull from a public one.

Please advise,
Moshe


#5

try the instructions here Public SSH key needed


#6

When cloning use https url instead of git one. (e.g. https://github.com/c9/architect.git instead of git@github.com:c9/architect.git)