-
Notifications
You must be signed in to change notification settings - Fork 0
Development tools installation
Peter Bacinsky edited this page Oct 20, 2014
·
1 revision
HOME / Workstation prerequisites / Development tools installation
Install npm and Grunt CLI, SSHFS, Git, git-flow, Graphviz ...
sudo apt-get install -y nautilus-open-terminal npm nodejs-legacy sshfs git git-flow graphviz && \
sudo npm install -g grunt-cli
NetBeans IDE with JDK7
cd ~/Downloads && \
wget http://download.netbeans.org/netbeans/8.0/final/bundles/netbeans-8.0-php-linux.sh -O netbeans-php-linux.sh && \
chmod +x netbeans-php-linux.sh && \
apt-get install -y openjdk-7-jdk && \
./netbeans-php-linux.sh
NOTE: You should change the version to download the latest NetBeans.
After NetBeans installation, Install/Reload in Development IDE the Webino4NetBeans plugin.
cd ~/Downloads && \
git clone https://github.com/webino/Webino4NetBeans.git && \
netbeans Webino4NetBeans
Install editor protocol handler, the open source by click from web-browser feature:
echo 'Installing one-click file open from web browser debugger...' && \
sudo touch /usr/share/applications/editor.desktop && \
echo '[Desktop Entry]
Name=Editor Handler
Exec=/usr/local/bin/run-netbeans.sh %u
Type=Application
Terminal=false
Categories=System;
MimeType=x-scheme-handler/editor;
Comment=Editor handler
' | sudo tee /usr/share/applications/editor.desktop && \
sudo touch /usr/local/bin/run-netbeans.sh && \
echo '#!/bin/bash
url="$1"
REWRITE=( $(FIS=" " echo "$(echo $url | sed -s '"'s/%2F/\//g'"' | sed -s '"'s/.*file=\(\/.*\)\&line=\(.*\)/\1\ \2/'"')") );
line=${REWRITE[1]}
file=${REWRITE[0]}
# Netbeans
netbeans "$file:$line"
' | sudo tee /usr/local/bin/run-netbeans.sh && \
sudo chmod +x /usr/local/bin/run-netbeans.sh && \
sudo gconftool-2 -s /desktop/gnome/url-handlers/editor/command --type String '/usr/local/bin/run-netbeans.sh %s' && \
sudo gconftool-2 -s /desktop/gnome/url-handlers/editor/enabled --type Boolean true && \
sudo update-desktop-database
If something is wrong with this wiki, please let us know.
Webino™ is a webapp's platform. © 2014 by Webino, s. r. o. All rights reserved.