Note
|
The Quickstart requires Java 8, Maven 3 and a recent Git (2.0.x preferred) to be available on your machine. If you miss any of those go through the steps described in Prerequisites |
$ git clone https://github.com/st-tu-dresden/videoshop
$ cd videoshop
$ mvn clean package
$ mvn spring-boot:run
After that point your browser to http://localhost:8080
.
Note the standard admin user is named boss
and has the password 123
.
Download the binaries, install. Make sure the console shows something like this:
$ java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Download the binaries, unzip to an arbitrary location and make sure the bin
folder of the unzipped result is in your path:
$ mvn --version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T20:33:14+02:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
Download the binaries, run the installer. Verify the command line shows something like this after install:
$ git --version
git version 2.19.1
Grab the latest STS (Spring Tool Suite or plain Eclipse Luna should work as well), run installer or unzip and run it.
Select File › Import, select Maven › Existing Maven Projects, select the folder you checked the project out into and hit Finish. This will import the project into your workspace.
In the Console view you might wanna click the Open Console button and select Maven Console to see that Maven is downloading dependencies, sources and Javadocs.
Grab the latest IntelliJ IDEA IDE (both Community Edition and Ultimate Edition will work), install it according to the instructions on their website and run it.
From the Welcome Screen, select Import Project. Otherwise, if you’ve already opened another project, you’ll need to select File › New › Project from existing sources.
Now, navigate to the folder you checked the project out into, select the pom.xml
file and hit Open.
In the opened wizard, additionally select the checkboxes Import Maven projects automatically, as well as the Sources and Documentation checkboxes next to Automically download and hit Next. On the next page, do not select any profile and hit Next. Now, ensure the Maven project is selected for import and hit Next. On the following page, ensure you’ve selected a 1.8 or higher JDK and hit Next. On the final page, leave the suggested project name as is and hit Finish.
Now you have to wait a bit while IntelliJ and Maven work on importing the project, which includes downloading all required dependencies from the internet. All IDE activities are displayed in the status bar.
This sample application is build on top of the following technologies:
Rapid application development framework based on Spring (see below).
Spring module to easily build data acess layers using JPA 2.1 (Java Persistence API).