Vagrant/Ansible Project to set up a developer machine containing IDEA and Eclipse for the "Scrum for developers" training hold by codecentric AG.
Assuming you have Vagrant already installed on your machine just checkout the repository, enter the checked out directory and run
vagrant up
- Ansible itself
- git
- zsh
- curl
- openjdk-8-jdk
- maven
- vim
- mysql-server
- python-mysqldb (for database creation via Ansible)
- Ansible downloads IntelliJ Community Edition and Spring Tool Suite from Centerdevice (because URLs don't change there).
- It unzips it to
/opt/IntelliJ
/opt/Eclipse
- Global Path to Java8 gets set
- Desktop links and necessary folders get created
- The worblehat database get's created with
- user: worblehat
- password worblehat
These steps are recommended if you want to provide a ready-to-go VM to training participants. Execute them inside the VM.
- Open a terminal and checkout the worblehat application.
- Do a
mvn clean install
inside the application path to download all necessary dependencies, so that the participants don't need to anymore, which speeds up the training. - Remove the checked out project afterwards (The training participants get their own copies of the repository).
- Optional (Attention: You shouldn't use the installed IDEAs for the optional tasks. Otherwise you'd create personalized settings which shall be left for the training participants.)
- Enter
worblehat-web
and runmvn spring-boot:run
and checklocalhost:8080/worblehat
to see if the application works. The application will run against the installed sql database, so don't forget to remove the created tables afterwards.
- Enter