Spring Boot Training Samples
- Set up Java developer kit (JDK) not Java runtime environment (JRE)
- Set JAVA_HOME and PATH environment variables.
- See Oracle JDK 8 installation overview
- See Github.com documentation
- Set up proxy server (if required) Command to use :
git config --global http.proxy http://proxyuser:[email protected]:8080
git config --global https.proxy https://proxyuser:[email protected]:8080
-
change proxyuser to your proxy user
-
change proxypwd to your proxy password
-
change proxy.server.com to the URL of your proxy server
-
change 8080 to the proxy port configured on your proxy server
-
If you decide at any time to reset this proxy and work without (no proxy): Commands to use:
git config --global --unset http.proxy
git config --global --unset https.proxy
- Finally, to check the currently set proxy;
git config --global --get http.proxy
git config --global --get https.proxy
- See Apache Maven documentation
- Set M2_HOME, M2 and PATH variables.
- Set up proxy server (if required) Put into your ${user.home}/.m2/settings.xml the correct configuration
<settings>
<proxies>
<proxy>
<id>example-proxy</id>
<active>true</active>
<protocol>http</protocol>
<host>proxy.example.com</host>
<port>8080</port>
<username>proxyuser</username>
<password>somepassword</password>
<nonProxyHosts>www.google.com|*.example.com</nonProxyHosts>
</proxy>
</proxies>
</settings>
- change proxyuser to your proxy user
- change somepassword to your proxy password
- change proxy.example.com to the URL of your proxy server
- change 8080 to the proxy port configured on your proxy server
- See Docker Machine documentation
- Set up proxy server (if required)
- See Docker Compose documentation
- Run docker-compose.yml with docker-compose up
docker-compose up
- IntelliJ IDEA
- NetBeans IDE
- Eclipse IDE for Java EE Developers
- Spring Eclipse IDE
- Set up proxy server in your IDE (if required)
- If you use {user.home}/workspace/ as your workspace directory this GIT repository will be cloned to {user.home}/workspace/spring-boot-training
- Ether use your IDE
- Or clone the repository
git clone https://github.com/Thinkenterprise/spring-boot-training.git