Skip to content

This project create a folder with all tools that I usually use on my daily work.

License

Notifications You must be signed in to change notification settings

fernando-romulo-silva/simple-devhome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-devhome

License Project status

Project status

I change this project constantly improving and adding new scripts, click here to follow up.

The Problem

I worked in a company where losing everything on my PC was a routine, my workplace, libraries, config files, environment variables, etc. And I had to recreate everything from scratch, it was tedious and time-consuming.

About

These project was created to help developers start a "developer folder" on their machines.
There are some scripts to download jdks (oracle, azul, etc), tools like Apache Ant, Apache Maven, etc., and servers like Tomcat, Glassfish, etc. and so on. Not only create, but download, configure and set on environment variables. Similar to SDkMAN, although more simpler.

Technologies

Technologies used on this project:

  • Bash Shell
  • Batch File

Requirements

To install you need the git installed on your pc, check it:

# check the git version
git --version

And access to Bash and Prompt command

Install

You can install it on Linux or Windows.

How to Use

This section show how to use

Concepts

To use these scripts you have to understand some concepts. The scripts are following these structure:

set-software-version\[-vendor][-codenome].[sh|bat]

Examples:

Install and/or config Oracle Java version 21, hotspot on Linux:

. set-java-21-oracle-hotspot.sh

Install and/or config Jetbrains Java version 21, jbrdcevm on Windows:

set-java-17-jetbrains-jbrdcevm.bat

Install and/or config Tomcat 9 on Linux:

set-tomcat-9.0.sh

Install and/or config Jetty 12 on Windows:

set-jetty-12.0.bat

You can realize that in the Tomcat and Jetty scripts, there is no vendor; it is omitted because there is only one vendor for both Apache and Eclipse respectively.

To Run

To run any script on linux:

source set-software-version\[-vendor][-codenome].sh

or

. set-software-version\[-vendor][-codenome].sh

And windows:

set-software-version\[-vendor][-codenome].bat

What happening?

When you execute the script regardless the SO, what the script do:

  • Download the software and put the download on '$DEVELOPMENT_HOME$\downloads' folder;
  • Extract it on its directory;
  • Set the terminal/prompt command environment vars;
  • Check the software;

Check the example, the ant script:

Model

Scripts

So far I provided some scripts, check it:

  • Java
  • Ant
  • Maven
  • Gradle
  • Tomcat
  • Jetty
  • Glassfish
  • Wildfly
  • Payara

About

This project create a folder with all tools that I usually use on my daily work.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published