-
You have already forked the repository and cloned your fork to your local machine. More information on this, and the fork and pull model in general, see the gist post on the subject.
-
You have the following installed:
- Copy and paste the
application.properties
file inserver/src/main/resources/
to the same location with a new name:application-dev.properties
. NOTE: Do not commitapplication-dev.properties
to the project. - Populate each field in
application-dev.properties
with the appropriate login credentials. To get a sample set of credentials, please contact your project team. If your project team does not have any credentials see section Creating new credentials - Run
mvn install
in theserver
directory - Navigate to
server/target
(cd target
) - Launch the server using
java -jar -Dspring.profiles.active=dev server-0.0.1-SNAPSHOT.jar
- Copy and paste the
application.properties
file inserver/src/main/resources/
to the same location with a new name:application-dev.properties
. NOTE: Do not commitapplication-dev.properties
to the project. - Populate each field in
application-dev.properties
with the appropriate login credentials. To get a sample set of credentials, please contact your project team. If your project team does not have any credentials see section Creating new credentials - Create a new project from existing sources (File>New>Project from existing sources) using the
pom.xml
file in the server folder of the cloned repo. - Set your run configuration to be a Spring Boot configuration with
ServerApplication.java
as the main class (this should happen automatically). - Edit the run configuration to have
-Dspring.profiles.active=dev
in VM Options under Environment. This makes Spring useapplication-dev.properties
instead ofapplication.properties
. - Run the
ServerApplication
configuration to launch the server.
- Twitter - These attributes can be obtained from the Twitter Developer console after creating a new app here. Note that getting access to the Twitter API may take a day or more.
- Reddit - These attributes can be obtained after creating an app here. Choose a
script
app type. Use the username and password of the account that created the app. - Github - Basic authentication is used, so use the username and password of a newly created GitHub account.
- HackerNews - Since HackerNews has a public API only, authentication is not required.
Note: It is recommended you do not use personal accounts for the above credentials. Also, it is more convenient if your team shares a set of credentials.