Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Setup your computer

* [Windows](#windows)
* [Mac](#mac)
* [Linux](#linux)

### <a name="windows"></a>Windows

Expand Down Expand Up @@ -126,6 +127,30 @@ Setup your computer

When you have put `eclipse` into `Applications` try launching TKP again by double-clicking `TKP_Launcher.jar`. If it works, great! Otherwise, visit the [Fixing Installation Errors](#troubleshooting) section below for more tips.

### <a name="linux"></a>Linux

1. **Ubuntu**

To install on Ubuntu, open a terminal window and run the following command:

```bash
source <(curl -L -s http://tinyurl.com/hzvqvck)
```

This command will download everything needed for TKP and create a shortcut on your desktop.

Eclipse should run automatically and the first lesson from TKP will open.

If you are having troubles reading the text inside the "JavaDoc" panel, you might need to change your system colors. This can be done by using the "color chooser" app. Just type:

```bash
sudo apt install gnome-color-chooser
gnome-color-chooser
```

You will need to go to the "Specific" tab and change your tooltip colors.


## <a name="troubleshooting"></a>Fixing Installation Errors

We're sorry that you are having trouble getting started with TKP. Below you will find a few more troubleshooting tips that we have used to resolve issues in the past.
Expand Down
17 changes: 17 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
mkdir ~/TKPSource
cd ~/TKPSource
wget https://github.com/clockwisemusic/TeachingKidsProgramming.Java/archive/master.zip
unzip master.zip
rm master.zip
mv TeachingKidsProgramming.Java-master TeachingKidsProgramming.Java
cd TeachingKidsProgramming.Java
unzip eclipse_workspace.zip
cp tkp.desktop ~/Desktop
echo Exec=$HOME/eclipse/eclipse -data $HOME/TKPSource/TeachingKidsProgramming.Java >>~/Desktop/tkp.desktop
chmod +x ~/Desktop/tkp.desktop
cd ~/
wget http://mirror.internode.on.net/pub/eclipse/technology/epp/downloads/release/luna/SR2/eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz
tar xzf eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz
rm eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz
~/eclipse/eclipse -data ~/TKPSource/TeachingKidsProgramming.Java
#sudo apt install gnome-color-chooser
7 changes: 7 additions & 0 deletions tkp.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Name=Teaching Kids Programming
Comment=Teaching Kids Programming In Java
Icon=eclipse
StartupNotify=true
Terminal=false
Type=Application