The most used web development tools in one place. Install dev tools after a fresh OS installation.
Download the script and move to the downloaded folder where devtools.sh is placed, then run the script:
$ cd devtools
$ sudo chmod +x devtools.sh
$ sudo bash devtools.shCommand syntax as the following:
devtools.sh [<command_name>] [options]
you can always use the help command to see what could be used:
$ sudo bash devtools.sh helpDevTools comes bundeled with a bunch of useful utilities, like git, vim and other stuff. check src/utils.sh to see what is included.
To install utilities use the command:
$ sudo bash devtools.sh utils- You can choose what JDK version you want to install (6,7 and 8 are supported. JDK8 is default):
$ sudo bash devtools.sh utils --jdk-version=8- You can choose what NodeJS version you want to install (6,7 and 4 are supported. NodeJS 6 is default):
$ sudo bash devtools.sh utils --nodejs-version=6This command will help you install the web server and other related stuff like PHP, Composer and some other extensions. To install web tools use the command:
$ sudo bash devtools.sh web-tools- You can choose what web server you want to install (Only apache2 is supported for now, more will be added):
$ sudo bash devtools.sh web-tools --web-server=apache2- You can chose what PHP version you want to install (PHP 7.2 is default):
$ sudo bash devtools.sh web-tools --php-version=7.2This command will automatically install and configure the database server.
$ sudo bash devtools.sh db- You can choose what database server you want to install (Only mysql is supported for now, more will be added):
$ sudo bash devtools.sh db --db-server=mysql- You can chose the root password for your server:
$ sudo bash devtools.sh db --db-pass=123456This command will install Cordova and Ionic Framework via npm globally. note that if you did not install JDK or NodeJS before, this command will automatically install them, so you can use --jdk-version and --nodejs-version options.
$ sudo bash devtools.sh ionicThe following commands are not included in default installation and you have to mention the command to install the software. Note that you can use multiple optional commands in one call.
To install Google Chrome use the following command
$ sudo bash devtools.sh chromeTo install Atom use the following command
$ sudo bash devtools.sh atomEvery OS version will have it's own branch as the commands and installation instructions may differ from one to another, and it's easier for people to locate their version from branch selection. Just remember to edit the readme to match your script.