forked from ebean-orm/ebean-orm.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquickstart.html
More file actions
206 lines (174 loc) · 6.73 KB
/
quickstart.html
File metadata and controls
206 lines (174 loc) · 6.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta id="layout-head" />
<title>Ebean ORM - Java/Kotlin/JVM</title>
<link rel="shortcut icon" href="/images/favicon.ico" >
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
<link rel="stylesheet" href="/css/pygments.css" type="text/css" />
<link rel="stylesheet" href="/css/site.css">
</head>
<body>
<div id="wrap">
<div id="header">
<div class="navbar" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".mobile-nav">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img src="/images/lg5-21x100.png" height="35">
</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav pull-right nav-btn-rhs">
<li ><a href="/"><span class="fas fa-home"></span> Home</a></li>
<li ><a href="/docs">Docs</a></li>
<li ><a href="/docs/getting-started">Get Started</a></li>
<li ><a href="/support">Help</a></li>
<li ><a href="/videos">Videos</a></li>
<li ><a target="_blank" href="/apidoc/11">ApiDocs</a></li>
<li ><a href="/releases">Releases</a></li>
<li><a target="_blank" href="https://github.com/ebean-orm/ebean"> <i class="fab fa-github"></i></a></li>
</ul>
</div>
<div class="mobile-nav">
<ul class="nav navbar-nav pull-right nav-btn-rhs">
<li ><a href="/"><span class="fas fa-home"></span> Home</a></li>
<li ><a href="/docs">Docs</a></li>
<li ><a href="/docs/getting-started">Get Started</a></li>
<li ><a href="/support">Help</a></li>
<li ><a href="/videos">Videos</a></li>
<li ><a target="_blank" href="/apidoc/11">ApiDocs</a></li>
<li ><a href="/releases">Releases</a></li>
<li><a target="_blank" href="https://github.com/ebean-orm/ebean"> <i class="fab fa-github"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="main">
<div class="jumbotron mini">
<div class="container">
<h1>Quick start</h1>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-9">
<div>
<h3>1. git clone example-minimal</h3>
<div class="syntax text"><div class="highlight"><pre><span></span>git clone git@github.com:ebean-orm-examples/example-minimal.git
</pre></div>
</div>
<h3>2. mvn clean test</h3>
<div class="syntax text"><div class="highlight"><pre><span></span>cd example-minimal
mvn clean test
</pre></div>
</div>
<h3>3. Install IDE enhancement plugin</h3>
<div class="row">
<div class="col-lg-5">
<div class="media ">
<div class="media-left">
<div class="media-left">
<a href="https://youtu.be/o4kmglM48Vc">
<img src="/images/movies-64.png" width="64" height="64">
</a>
</div>
</div>
<div class="media-body">
<h4 class="media-heading">IntelliJ plugin</h4>
Installing and using the enhancement plugin for IntelliJ IDEA.
</div>
</div>
</div>
<div class="col-lg-5">
<div class="media">
<div class="media-left">
<div class="media-left">
<a href="https://youtu.be/_DWxNj-_orA">
<img src="/images/movies-64.png" width="64" height="64">
</a>
</div>
</div>
<div class="media-body">
<h4 class="media-heading">Eclipse plugin</h4>
Installing the enhancement plugin for Eclipse IDE.
</div>
</div>
</div>
</div>
<h3>4. Play around</h3>
<p>
Modify the minimal application adding entities, properties, tests etc.
</p>
<p> </p>
<hr/>
<p> </p>
<h2>... looking for more?</h2>
<h3>More examples</h3>
<h5><a href="https://github.com/ebean-orm-examples/example-java8">example-java8</a></h5>
<p>
This example project has a larger model of entity beans to look at.
</p>
<h5><a href="https://github.com/ebean-orm-examples/example-springboot">example-springboot</a></h5>
<p>
This example uses spring boot and programmatically configures the default EbeanServer.
</p>
<h5><a href="https://github.com/ebean-orm-examples/example-kotlin-web">example-example-kotlin-web</a></h5>
<p>
a Kotlin / Guice / RestEasy / Ebean example project.
</p>
<h3>Create a new project via archetype</h3>
<div class="syntax text"><div class="highlight"><pre><span></span>mvn archetype:generate \
-DinteractiveMode=f \
-DarchetypeGroupId=io.ebean \
-DarchetypeArtifactId=archetype-start \
-DarchetypeVersion=1.0 \
-DgroupId=com.foo.myapp \
-DartifactId=my-app
</pre></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer id="footer">
<div class="doc-footer">
<ul class="doc-footer-links">
<li><a href="/">Ebean ORM</a></li>
<li> | </li>
<li><a href="http://avaje-metric.github.io">Metrics</a></li>
</ul>
</div>
</footer>
<script type="text/javascript">
var categoryNames = {};
</script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/jquery.easing.min.js"></script>
<script src="/js/jquery.storageapi.min.js"></script>
<script src="/js/ebean-site.js"></script>
<script src="/js/extra.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-75181644-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>