Hello Jamie, OCW UI can be run using both the commands:
frontend/node_modules/grunt-cli/bin/grunt serve Fires up the OCW UI on the port http://localhost:9000 python run_webservices.py Fires up the OCW UI on the port http://localhost:8082 Hope this clarifies your doubt from the instructions here : https://cwiki.apache.org/confluence/display/CLIMATE/Open+Climate+Workbench+User+Interface+Installation+and+Overview If everything is installed right following the steps mentioned in above mentioned url both the commands should work just fine. Thanks, Omkar On 5 January 2017 at 01:35, Ibrahim Jarif <jarifibra...@gmail.com> wrote: > Hi, > Did you run this command "*./node_modules/bower/bin/bower install*"? > This command will download all the required frontend dependencies and put > them in "*bower_components*" folder. > > On Thu, Jan 5, 2017 at 1:13 AM, Jamie Lawson <jamierlaw...@gmail.com> > wrote: > > > As my message said, there is NO bower_components folder ANYWHERE in the > > installation. I searched and found none. The installation instructions > > didn't create one. > > > > On Wed, Jan 4, 2017 at 11:41 AM, Ibrahim Jarif <jarifibra...@gmail.com> > > wrote: > > > >> Hi, > >> Could you please verify the location of the "bower_components" folder? > It > >> should be inside the "ocw-ui/frontend/" folder. > >> Also there should be a link to the "frontend" folder inside the > >> "ocw-ui/backend" folder. > >> Do you have both of these folders? > >> > >> For instance, they say the service will be provided on port 9000, but > the > >>> scripts say services are on port 8082 > >> > >> Yes. The server runs on port 8082. We will update the instructions. > >> > >> > >> Thanks, > >> Ibrahim > >> > >> > >> On Thu, Jan 5, 2017 at 12:10 AM, Jamie Lawson <jamierlaw...@gmail.com> > >> wrote: > >> > >>> Gents-- > >>> > >>> I am trying to get the ocw-ui working. I have followed the instructions > >>> at > >>> > >>> https://cwiki.apache.org/confluence/display/CLIMATE/Open+Cli > >>> mate+Workbench+User+Interface+Installation+and+Overview > >>> > >>> These instructions obviously have issues. For instance, they say the > >>> service will be provided on port 9000, but the scripts say services > are on > >>> port 8082 (which turns out to be correct. But the web service doesn't > work. > >>> Here's what I get in the browser (pretty much empty): > >>> > >>> [image: Inline image 2] > >>> > >>> And when I go to that URL, the log output from the service is a whole > >>> bunch of 404 errors. I suspect that there are other errors in the > >>> installation instructions (I redid it 9 times and _always_ get the same > >>> problem. Can you provide direction? Here is the log with the 404 > errors. > >>> > >>> jlawson@calico:~/Public/climate/ocw-ui/backend$ python > >>> run_webservices.py > >>> Bottle v0.12.9 server starting up (using WSGIRefServer())... > >>> Listening on http://localhost:8082/ > >>> Hit Ctrl-C to quit. > >>> > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/leaflet/ > dist/leaflet.css > >>> HTTP/1.1" 404 757 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/bootstrap/ > dist/css/bootstrap.css > >>> HTTP/1.1" 404 765 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET > /bower_components/components-f > >>> ont-awesome/css/font-awesome.css HTTP/1.1" 404 777 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/chap-links- > timeline/timeline.css > >>> HTTP/1.1" 404 765 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/jquery-ui/ > themes/smoothness/jquery-ui.css > >>> HTTP/1.1" 404 774 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular/ > angular.js > >>> HTTP/1.1" 404 751 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/json3/lib/ > json3.js > >>> HTTP/1.1" 404 751 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/es5-shim/ > es5-shim.js > >>> HTTP/1.1" 404 753 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET > /bower_components/jquery/dist/jquery.js > >>> HTTP/1.1" 404 754 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/bootstrap/ > dist/js/bootstrap.js > >>> HTTP/1.1" 404 763 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > resource/angular-resource.js > >>> HTTP/1.1" 404 769 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > cookies/angular-cookies.js > >>> HTTP/1.1" 404 767 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > animate/angular-animate.js > >>> HTTP/1.1" 404 767 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > route/angular-route.js > >>> HTTP/1.1" 404 763 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET > /bower_components/angular-ui-r > >>> outer/release/angular-ui-router.js HTTP/1.1" 404 779 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/leaflet/ > dist/leaflet-src.js > >>> HTTP/1.1" 404 760 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/chap-links- > timeline/timeline-min.js > >>> HTTP/1.1" 404 768 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > bootstrap/ui-bootstrap-tpls.js > >>> HTTP/1.1" 404 771 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/jquery-ui/ > jquery-ui.js > >>> HTTP/1.1" 404 755 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular-ui- > date/src/date.js > >>> HTTP/1.1" 404 760 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular/ > angular.js > >>> HTTP/1.1" 404 751 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/json3/lib/ > json3.js > >>> HTTP/1.1" 404 751 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/es5-shim/ > es5-shim.js > >>> HTTP/1.1" 404 753 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET > /bower_components/jquery/dist/jquery.js > >>> HTTP/1.1" 404 754 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/bootstrap/ > dist/js/bootstrap.js > >>> HTTP/1.1" 404 763 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > resource/angular-resource.js > >>> HTTP/1.1" 404 769 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > cookies/angular-cookies.js > >>> HTTP/1.1" 404 767 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > animate/angular-animate.js > >>> HTTP/1.1" 404 767 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > route/angular-route.js > >>> HTTP/1.1" 404 763 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET > /bower_components/angular-ui-r > >>> outer/release/angular-ui-router.js HTTP/1.1" 404 779 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/leaflet/ > dist/leaflet-src.js > >>> HTTP/1.1" 404 760 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/chap-links- > timeline/timeline-min.js > >>> HTTP/1.1" 404 768 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular- > bootstrap/ui-bootstrap-tpls.js > >>> HTTP/1.1" 404 771 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/jquery-ui/ > jquery-ui.js > >>> HTTP/1.1" 404 755 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular-ui- > date/src/date.js > >>> HTTP/1.1" 404 760 > >>> 127.0.0.1 - - [03/Jan/2017 23:44:04] "GET /bower_components/angular-ui- > date/src/date.js > >>> HTTP/1.1" 404 760 > >>> > >> > >> > > >