Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
setup-project
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EAR
setup-project
Commits
12aaee32
Commit
12aaee32
authored
8 years ago
by
Miroslav
Browse files
Options
Downloads
Patches
Plain Diff
[UPD] README links
parent
0a9ee743
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+10
-4
10 additions, 4 deletions
README.md
with
10 additions
and
4 deletions
README.md
+
10
−
4
View file @
12aaee32
...
...
@@ -6,12 +6,12 @@ If it can be built and run, the system has the correct setup and is ready for th
### Software Requirements
*
**Java 8**
*
**NetBeans or any other Java IDE**
*
**Java 8**
(download
[
here
](
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
)
)
*
**NetBeans
8**
(download
[
here
](
https://netbeans.org/downloads/
)
)
**
or any other Java IDE**
*
**Apache Maven 3**
(download
[
here
](
https://maven.apache.org/download.cgi
)
)
*
**NodeJS 4**
or later (download
[
here
](
https://nodejs.org/en/
)
)
*
**npm**
(should be installed together with NodeJS)
*
**PostgreSQL 9**
and later
*
**PostgreSQL 9**
and later
(download
[
here
](
https://www.postgresql.org/download/
)
)
*
**Apache Tomcat 8**
(download
[
here
](
http://tomcat.apache.org/download-80.cgi
)
) or any other Java EE 7 Web compatible application server
Feel free to install the software using your system's package manager.
...
...
@@ -23,6 +23,12 @@ This is the shortest path setup without any customizations. Feel free to modify
We are assuming that PostgreSQL is running at
`localhost:5432`
(see
`src/main/resources/jdbc.properties`
).
We are also assuming that Apache Tomcat is used with its default port - 8080.
#### PostgreSQL database setup
1. start `psql`
2. `CREATE USER ear WITH password 'ear';`
3. `CREATE DATABASE ear WITH OWNER ear;`
#### Setup without IDE
1.
Create a database named _ear_, owned by user _ear_ identified by password _ear_ (again, see
`src/main/resources/jdbc.properties`
).
...
...
@@ -32,7 +38,7 @@ We are also assuming that Apache Tomcat is used with its default port - 8080.
this uses maven to download Java dependencies of the project and builds a deployable _war_ archive with the application.
5.
Copy the resulting archive -
`ear-setup.war`
from
`target`
into your Tomcat's
`webapps`
directory.
1.
E.g. if you unpacked Tomcat into
`/opt/apache-tomcat-8.0.37`
, copy the war file into
`/opt/apache-tomcat-8.0.37/webapps`
6.
Start Tomcat by running
`startup.sh`
(or
`startup.
cmd
`
) in the
`bin`
directory of your Tomcat.
6.
Start Tomcat by running
`startup.sh`
(or
`startup.
bat
`
) in the
`bin`
directory of your Tomcat.
7.
Go to
[
http://localhost:8080/ear-setup
](
http://localhost:8080/ear-setup
)
- you should see a table of people who will
be teaching you, including their contact emails and rooms where to find them.
8.
Congratulations, you are done!
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment