1. When you are stuck with a problem, the best way to try and find a solution is to attempt to google it. It is very likely someone has come across the same problem you have come across in the past and you will likely be able to find tutorials and different information to help you solve it.
2. One of the best websites to use when you have a problem with the actual code itself is https://stackoverflow.com. This is a site where people ask different questions about coding and then the community answers. People then up vote the best answers so you see the correct solutions more quickly. You can search your coding questions here to find quick solutions.
3. Another important thing to remember is that when coding, you rarely have to start from scratch. Throughout the project, you will be given source code you can use to complete each exercise. When creating new services, you can use previous code as a starting point and alter it slightly rather than creating a whole new thing.
4. Lastly, if you would like to know what your end product could look like, here is my web portal that I have created when I went through and did the same project you are about to do:
http://personality-insights-stopera.mybluemix.net
Follow the directions below:
1. Create a Bluemix account and explore the site
- Go to Bluemix.net and create an account
- Go to Catalog->Watson->Personality Insights to create a new service
- Once created, click "Demo" to see how it works
2. Download and install Eclipse
- Go to Eclipse.org -> Downloads
- Download Java IDE for Java EE Developers, not Java IDE for Java Developers
- Once downloaded, open your Eclipse and create a new workspace
3. Download Cloud Foundry Command Line Tool
- Go to https://github.com/cloudfoundry/cli#downloads
- Download the Stable Binaries Mac OS X 64 Bit (or a different Stable Binaries depending on your brand of computer)
- Once downloaded, go to your finder and right click->open to open the wlp jar file
4. Download WebSphere Liberty Profile
- Download the Liberty Profile runtime at https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environoments/
- Copy and past the following lines into Terminal and press Enter after each one:
- java -jar wlp-developers-8.5.0.0.jar (then accept the user agreement)
- cd wlp
- chmod u+x bin/server
- ./bin/server create MyInstance
- ./bin/server start MyInstance
- In Eclipse, open the Eclipse Marketplace (under Help)
- Search Liberty and install the IBM Websphere Application Server V8.5 Liberty Profile Developer Tools for Luna (not the Beta version)
- In Eclipse, open preferences
- Click the drop down arrow for server and click on runtime environment
- Click on Add and select the WebSphere Application 8.5 Liberty Profile
5. Download Git OSX
- Go to http://www.git-scm.com/download/mac and Git OSX will download for you
6. Download Homebrew
- Go to http://brew.sh and copy and paste the top line into Terminal
7. Download Gradle
- Go to http://gradle.org/downloads/
- In Terminal, write brew install gradle
8. Download the Java SE Development Kit 8
- Download at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- In Eclipse under preferences, search JRE
- Click on Installed JRE and check the box of the Java SE Development Kit 8
9. Download SourceTree
- Go to www.sourcetreeapp.com and click the button to download SourceTree
- Drag the SourceTree app into applications
- Once installed, double click on the SourceTree application to start it
10. Download Twitter Bootstrap
- Go to http://getbootstrap.com/2.3.2/ and click the button to download Bootstrap
- Once you create a web project in Eclipse, you can copy and paste the components of Bootstrap into that file. This will happen later on.
No comments:
Post a Comment