lukeddy / hippo-angular Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mgijsberti/hippo-angular
Demo Hippo project with client site integration with Angular application
This project forked from mgijsberti/hippo-angular
Demo Hippo project with client site integration with Angular application
Instructions for setting up the Hippo Angular client project. ============================================================= 1) Clone the https://github.com/mgijsberti/gs-rest-service.git into a local project, and start up the greeting service. Use the start-server.sh script, or use the commands from the script. Check in your local browser the REST service with http://localhost:8086/greeting?name=martijn. 2) Install Apache Httpd Webserver (https://httpd.apache.org/) on your local machine, and start it up under localhost. Make sure that mod_proxy module (http://httpd.apache.org/docs/2.2/mod/mod_proxy.html) for Forward and Reverse proxies is installed 3) Virtualhost configuration in apache. <VirtualHost *:80> ServerName cms.example.com ProxyPreserveHost Off ProxyPass /app ! ProxyPass /site/ http://127.0.0.1:8080/site/ ProxyPass / http://127.0.0.1:8080/cms/ ProxyPassReverse / http://127.0.0.1:8080/cms/ ProxyPassReverseCookiePath /cms / </VirtualHost> <VirtualHost *:80> ServerName www.example.com ServerAlias *.example.com ProxyPreserveHost On ProxyPass /app ! ProxyPass / http://127.0.0.1:8080/site/ ProxyPassReverse / http://127.0.0.1:8080/site/ ProxyPassReverseCookiePath /site / </VirtualHost> 4) Add to your /etc/hosts to following line 127.0.0.1 localhost www.example.com cms.example.com See http://www.onehippo.org/library/deployment/configuring/configure-apache-httpd-web-server-for-cms-and-sites.html for the details. 5) In the frontend frontend/src/deploy-apache.sh set the document root and the location of the apache log DOCUMENT_ROOT='/Library/WebServer/Documents' APACHE_LOG='/private/var/log/apache2' The script copies the Angular application into your Apache webroot folder. 6) In the project mvn clean install mvn -Pcargo.run -Drepo.path=storage 7) Browse to www.example.com in your browser 8) Browser to http://www.example.com/greeting and test the greeting application. It should give back the name you enter in the input field. 9) Login into the cms (http://http://cms.example.com) and go to the channel manager. Check if you can remove and add the greeting component in the channel manager. What happens if you configure the component with the wrong url ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.