Can't run sample apollo app from tag

Post Reply
richgiomundo
Posts: 2
Joined: 11 Dec 2014, 22:43

05 Aug 2016, 19:32

I'm trying to run the example app found in the tag directory and I am unable to get it working. I'm following these steps:
I get this error:
HTTP ERROR 500

Problem accessing /apollo/. Reason:

Error loading css, cannot find "theme.css" resource of "primefaces-apollo-blue" library
Caused by:

javax.faces.FacesException: Error loading css, cannot find "theme.css" resource of "primefaces-apollo-blue" library

User avatar
optimus.prime
Prime
Posts: 17421
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Aug 2016, 11:45

You need to build the css from sass;

Code: Select all

sass --update src/main/webapp/resources
Assuming you have sass installed and available at command line.

richgiomundo
Posts: 2
Joined: 11 Dec 2014, 22:43

08 Aug 2016, 19:48

It would be really nice if this information was in a README in the tag directory.

Compile SCSS
* install sass (http://sass-lang.com/install)
* run sass from tag directory (sass --update src/main/webapp/resources)

Run Demo
* execute mvn jetty:run
* go to http://localhost:8094/apollo/ in your browser

cloud4288
Posts: 24
Joined: 16 Jun 2011, 11:10

10 Aug 2016, 04:58

I agree with richgiomundo. This will make it easier to appreciate and work with it.

Seeing code working with proper instructors and working out of the box is a good developer experience.

User avatar
DarthMaul
Posts: 543
Joined: 23 Nov 2015, 21:20

12 Aug 2016, 10:13

Hi,

We decided to add these informations to documentation from now on.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest