Fabric8 based Web App examples
This project provides an example of how to deploy a simple web application with Bootstrap to Fabric8 / JBoss Fuse. The AngularJS demo is a simple implementation of the Web-Demo with the Angular Libraries and some simple UI-Routing implemented.
More advanced examples to come using Java Backend and features of Camel, AMQ etc...
#Deployment:
First build the project, navigate to the projects root dir and execute from the cli: #mvn clean install
Add the Features repo to Fabric Profile:
If you're running a default container then the profile applied is fabric as specified in the command below, however I would recommed creating your own fabric profile. Via CLI:
If successfully deployed you should see something like: [ 146] [Active ] [ ] [ 60] Fabric8 Basic Web Demo() 4. # Open a new browser tab and navigate to: http://localhost:8181/fabric8-web-demo
Via Hawtio: (default setup)
- Login (default is admin/admin)
- Click on Runtime
- Under Container sub tab click on 'root'
- Under 'Associated Profiles' click 'fabric'
- On the 'Feature Repositories' tab enter: mvn:org.fabric8.demo/fabric8-web-features/1.0.0-SNAPSHOT/xml/features and click add
- Click on the 'Features' tab, and click the add feature icon at the bottom of the page
- On the 'Edit Fabric Features' page search for 'fabrc8-web-project'
- Click on the checkbox next to 'fabric8-web-project', click Add, Save Changes and then Done.
- Assuming everything deployed properly, Open a new browser tab and navigate to: http://localhost:8181/fabric8-web-demo