Vagrant project with Tomee and PostgreSQL. This is an application to manage a car shop. You can insert cars, and carmaker and analyze all your product. We work with two virtual machines, one for web server and a second for database server.
- Download and install Virtualbox https://www.virtualbox.org/wiki/Downloads
- Download and install Vagrant http://www.vagrantup.com/downloads.html
- You must download the latest version from site. Your vagrant version (
vagrant -v
) have to be >= 1.4 - Ubuntu users: The package in Ubuntu Software Center or in apt is OLD. Download the new version from site.
- You must download the latest version from site. Your vagrant version (
- Download and unzip this repository. It contains all Vagrant configurations to build VM.
- Move with your command line to unzipped directory
- Run
vagrant up
or launch./startup.bat
to start up the two virtual machines - Test our application here
- At the end, run
vagrant halt
or launch./shutdown.bat
to shutdown the two virtual machines
You can find the application used in this project at this link: click here
You can find the application used in this project (REST VERSION) at this link: click here
- Run
vagrant up
or launch./startup.bat
to start up the two virtual machines - Launch
ClientREST.bat
to test the REST application and work with it.- You must download and install cUrl on your windows machine.
- Download cUrl
http://winampplugins.co.uk/curl/
- choose the correct version for your pc (32-bit or 64-bit)
- Extract all the file in the 7z file inside the same folder
- Set the path of this folder inside the PATH variable of Environment Variables.