Note: It's assumed you have the following to do this.
- Jazzhub DevOps account. https://hub.jazz.net/
- Existing Spring Boot application project
- Git client installed
https://hub.jazz.net/
2. Create a new project using the "+ Create Project" button
3. Call it BluemixSpringBootJPA, of course you can call your project whatever you like.
4. Click the "Create a New Repository"
5. Select "Create a Git Repo on Bluemix"
Now go to the file system where your project exists and start the process to add it to GIT locally
and finally push it to the remote git url we created above
pas@pass-mbp:~/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA$ git init
Initialized empty Git repository in /Users/pas/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA/.git/
pas@pass-mbp:~/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA$ git add .
pas@pass-mbp:~/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA$ git commit -m 'First commit'
[master (root-commit) 332755e] First commit
35 files changed, 866 insertions(+)
create mode 100644 README.md
create mode 100644 manifest.yml
create mode 100644 pom.xml
create mode 100644 src/main/java/pas/cloud/webapp/ApplesCfDemoApplication.java
create mode 100644 src/main/java/pas/cloud/webapp/DataSourceConfiguration.java
create mode 100644 src/main/java/pas/cloud/webapp/controllers/AlbumController.java
create mode 100644 src/main/java/pas/cloud/webapp/controllers/WelcomeController.java
create mode 100644 src/main/java/pas/cloud/webapp/domain/Album.java
create mode 100644 src/main/java/pas/cloud/webapp/domain/ApplicationInfo.java
create mode 100644 src/main/java/pas/cloud/webapp/domain/RandomIdGenerator.java
create mode 100644 src/main/java/pas/cloud/webapp/repositories/JpaAlbumRepository.java
create mode 100644 src/main/resources/application.properties
create mode 100644 src/main/resources/data.sql
create mode 100644 src/main/resources/messages_en.properties
create mode 100644 src/main/resources/static/images/Create.png
create mode 100755 src/main/resources/static/images/Execute.png
create mode 100644 src/main/resources/static/images/PoweredByPivotal1.png
create mode 100755 src/main/resources/static/images/Search.png
create mode 100755 src/main/resources/static/images/add16.gif
create mode 100755 src/main/resources/static/images/b_drop.png
create mode 100644 src/main/resources/static/images/b_home.png
create mode 100644 src/main/resources/static/images/b_props.png
create mode 100755 src/main/resources/static/images/key.png
create mode 100755 src/main/resources/static/images/s_error.png
create mode 100755 src/main/resources/static/images/s_info.png
create mode 100755 src/main/resources/static/images/s_notice.png
create mode 100755 src/main/resources/static/images/s_success.png
create mode 100644 src/main/resources/static/images/s_tbl.png
create mode 100644 src/main/resources/templates/albums.html
create mode 100644 src/main/resources/templates/editalbum.html
create mode 100644 src/main/resources/templates/error.html
create mode 100644 src/main/resources/templates/footer.html
create mode 100644 src/main/resources/templates/newalbum.html
create mode 100644 src/main/resources/templates/welcome.html
create mode 100644 src/test/java/pas/cloud/webapp/ApplesCfDemoApplicationTests.java
pas@pass-mbp:~/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA$ git remote add origin https://hub.jazz.net/git/pasapples/BluemixSpringBootJPA
pas@pass-mbp:~/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA$ git remote -v
origin https://hub.jazz.net/git/pasapples/BluemixSpringBootJPA (fetch)
origin https://hub.jazz.net/git/pasapples/BluemixSpringBootJPA (push)
pas@pass-mbp:~/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA$ git commit -m 'Update READEME.md'
[master 5c32ea7] Update READEME.md
pas@pass-mbp:~/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA$ git push origin master
Username for 'https://hub.jazz.net': pasapples
Password for 'https://pasapples@hub.jazz.net':
Counting objects: 58, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (49/49), done.
Writing objects: 100% (58/58), 32.88 KiB | 0 bytes/s, done.
Total 58 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6)
remote:
remote: Processing changes: refs: 1, done
To https://hub.jazz.net/git/pasapples/BluemixSpringBootJPA
8bcea42..5c32ea7 master -> master
pas@pass-mbp:~/ibm/DemoProjects/spring-starter/jazzhub/BluemixSpringBootJPA$
Finally the project exists in Jazzhub and can be forked as required
So if you wanted to fork this project here is the URL to it.
https://hub.jazz.net/project/pasapples/BluemixSpringBootJPA/overview
More Information
For more information on the IBM dev ops service use the link below.
https://hub.jazz.net/tutorials/devopsweb/
No comments:
Post a Comment