{"id":18939384,"url":"https://github.com/gentics/demoportal","last_synced_at":"2026-01-27T03:34:51.266Z","repository":{"id":20347426,"uuid":"23622285","full_name":"gentics/demoportal","owner":"gentics","description":"Gentics Portal.Node Demoportal","archived":false,"fork":false,"pushed_at":"2017-03-09T14:23:43.000Z","size":12365,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-31T22:21:05.333Z","etag":null,"topics":["demo","gentics","webapp"],"latest_commit_sha":null,"homepage":null,"language":"PLSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gentics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-03T13:55:00.000Z","updated_at":"2017-03-09T14:21:20.000Z","dependencies_parsed_at":"2022-08-21T17:21:11.564Z","dependency_job_id":null,"html_url":"https://github.com/gentics/demoportal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentics%2Fdemoportal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentics%2Fdemoportal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentics%2Fdemoportal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentics%2Fdemoportal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gentics","download_url":"https://codeload.github.com/gentics/demoportal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239938059,"owners_count":19721560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo","gentics","webapp"],"created_at":"2024-11-08T12:17:18.481Z","updated_at":"2026-01-27T03:34:46.247Z","avatar_url":"https://github.com/gentics.png","language":"PLSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gentics Portal.Node Java Demoportal #\n\n## Install Eclipse JEE (Including egit, m2e, m2e-wtp) ##\n\n[Portal.Node Maven IDE Guide](http://www.gentics.com/Portal.Node/guides/maven_ide.html)\n\n## Preparation ##\n\n* Add the license information to your maven profile (settings.xml)\n\n```xml\n    \u003cprofiles\u003e\n        …\n        \u003cprofile\u003e\n            \u003cid\u003egentics.license\u003c/id\u003e\n            \u003cproperties\u003e\n                \u003cgentics.gpn.licensekey\u003eYOUR_LICENSE_KEY\u003c/gentics.gpn.licensekey\u003e\n            \u003c/properties\u003e\n        \u003c/profile\u003e\n        …\n    \u003c/profiles\u003e\n    \u003cactiveProfiles\u003e\n        \u003cactiveProfile\u003egentics.license\u003c/activeProfile\u003e\n    \u003c/activeProfiles\u003e\n```\n\n## Database Setup ##\n\nThe following two databases are needed in order to provide demo content for the Demo Portal.\n\n```\n# CCR\necho \"CREATE DATABASE contentrepository\" | mysql -u root -p\nmysql -u root -p contentrepository \u003c demoportal/demoportal-config/src/main/sql/contentrepository.sql\n\n# PCR\necho \"CREATE DATABASE contentrepository_portal\" | mysql -u root -p\nmysql -u root -p contentrepository_portal \u003c demoportal/demoportal-config/src/main/sql/contentrepository_portal.sql\n```\n\nBy default the demoportal tries to access your local mysql server on port 3306 with the login: __root/finger__. You can modify your credentials by updating your __gentics.demoportal__ maven profile.\n\n## Import in Eclipse ##\n\n* Import all projects and invoke project clean\n\n* Create a new Apache Tomcat 8 server instance and add the following webapps:\n\n  * demoportal-webapp\n  * demoportal-portalnode-webapp\n  * demoportal-genticsimagestore-webapp\n\n* Add the following argument to your Server VM arguments:\n\n```\n  -Dworkspace.dir=${workspace_loc}\n  -Dcom.gentics.portalnode.confpath=${workspace_loc}/demoportal/demoportal-config/target/portal_configuration\n  -Dcatalina.config=file://${workspace_loc}/demoportal/demoportal-config/src/main/eclipse-conf/catalina.properties\n```\n\nNOTE: Make sure you are not inserting any linebreaks in the VM arguments.\n\n* Make sure you invoked 'Publish' for your Server in order to update the used Server settings.\n\n## Accessing the Demo\n\nOnce the demo server is up and running you can access the webapp via: \u003chttp://localhost:8080/Portal.Node/portal\u003e\n\n## Profile Handling\n\nThe configuration for prod, dev, test and local (IDE) environments often requires different settings. \nThe this project includes example profiles which can be used to build the project using custom settings. \nMaven will use the _local_ profile if an Eclipse IDE environment was detected. Otherwise a profile must be specified to build this project.\n\nPlease note that the properties within the _config.*.properties_ file are only be used to replace settings within the configuration files (e.g.: default.portal.xml). \nThe settings in those files are not used to configure maven.\n\n## Building \n\nYou may build the whole distribution package which includes all settings and a Apache Tomcat server via maven:\n\n```\nmvn -Pprod,\\!local clean package\n```\n\nYou can now use this package file to build your own docker image or deploy it straight to your server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentics%2Fdemoportal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgentics%2Fdemoportal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentics%2Fdemoportal/lists"}