forked from odwayne/rnr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
90 lines (59 loc) · 3.28 KB
/
README
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
README
~~~~~~~~~
Thanks for your interest in contributing to the ThoughtWorks RnR project!
To get started, you will want to clone and set this project up locally, helpful tips are included below.
To start contributing to this project, you will need to contact Alyssa Nabors ([email protected]) for access to the Trello board,
where information project setup and current iteration is stored. You will also need to contact Landon Medlock ([email protected])
with your GitHub username to be added as a contributor to the project.
~~~~~~~~~
**Trello Etiquette**
We are using Trello (https://trello.com/) as our story tracker as well as for iteration planning and tracking purposes. Information about project contributors,
accessing the production server and ci pipeline, etc, can be found on the InfoBoard. Stories can be found on the currentIterationStoryBoard.
If you would like to work on a story, please use Trello to Assign yourself to the story and put it in "Doing".
If for any reason you ned to stop working on that story, please add an update on what you have accomplished in the comments, unassign yourself,
and move the story back to "Ready for Development".
This process should be used for stories being development as well as stories in QA.
Since it is not always possible for everyone on this project to attend a stand-up, it is important that you keep the Trello board up to date with
as much detail as possible.
~~~~~~~~~~~~~
**Things you might want to install**
IntelliJ Ultimate Edition
HomeBrew (http://brew.sh/ -- makes installation easy)
Using Homebrew:
Git
Maven
Tomcat
**********************************
BEFORE OPENING PROJECT IN INTELLIJ
**********************************
Run Maven compiler: compile in the directory where your pom xml file is located. (mvn compiler:compile)
To run the RnR on localhost:8080
open Run -> Edit Configurations -> Server tab
Plus sign (top left corner)
select Tomcat server -> local
Plus sign (bottom box)
select Build Artifacts, select the exploded web app you created (only one option usually)
Application Server: Tomcat 7.0 (copy/paste the CATALINA_BASE directory you get from typing catalina start in the terminal (remember to type catalina stop afterwards))
Run -> Edit Configurations -> Deployment tab
Plus sign (for Deploy at the server startup box), select artifact, select the exploded web app artifact
~~~
**Troubleshooting**
FEEL FREE TO ADD ANY TIPS OR PROBLEMS YOU ENCOUNTER TO THIS LIST
If code shows errors due to missing libraries:
import libraries: junit-4.1.0 and spring-framework-web if it's not there
If 'catalina start' in the terminal does not work:
Install Tomcat 7.0.42
have port 8080 open
If there is no artifact:
Project Structure - Artifacts tab
Plus sign, added Web App Exploded, selected main folder
Make sure to add all the libraries to the artifact
If Intellij is throwing errors after these steps:
Delete the project
Check out from VCS on the home IntelliJ page using GIT
Then open the project from the home IntelliJ page
Repeat all above steps as necessary
If you seem to be missing an inordinate number of libraries and the artifact cannot be deployed
Check your version of Java.
Less than 1.7 will cause really funky errors
~~~