Skip to content

Instantly share code, notes, and snippets.

@bryceosterhaus
Last active November 17, 2016 18:48
Show Gist options
  • Select an option

  • Save bryceosterhaus/dd4e9ce0cbf45860ebd51352062f4047 to your computer and use it in GitHub Desktop.

Select an option

Save bryceosterhaus/dd4e9ce0cbf45860ebd51352062f4047 to your computer and use it in GitHub Desktop.

Loop Setup

Requirements

Setting up plugins

  • Add build.[USERNAME].properties file to root of plugins repo
  • This file should include
app.server.dir=[BUNDLE_LOCATION]/tomcat-7.0.56
auto.deploy.dir=[BUNDLE_LOCATION]/deploy
  • Add portal-ext.properties file to portal classes at [TOMCAT_DIR]/webapps/ROOT/WEB-INF/classes
  • This file should include
auto.login.hooks=com.liferay.portal.security.auth.BasicAuthHeaderAutoLogin
auth.token.ignore.portlets=82,1_WAR_loopportlet

## Add this for mysql db

jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/[DATABASE_NAME]?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=root
jdbc.default.password=

Portlets to deploy from plugins repo

  • loop-portlet
  • asset-entry-set-portlet
  • asset-sharing-portlet
  • marketplace-portlet
  • portal-compat-hook
  • push-notifications-portlet
  • token-auth-portlet
  • url-metadata-scraper-web
  • loop-theme

example from plugins directory root

$ cd portlets/loop-portlet && ant all
$ cd themes/loop-theme && ant all
$ cd web/url-metadata-scraper && ant all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment