Initial Setup initial-setup
Start Author and Publish Instances start-author-and-publish-instances
For development and demonstration purposes, it is necessary to run one author and one publish instance.
To do so, follow the basic Adobe Experience Manager (AEM) Getting Started instructions, which result in the following:
- Author environment on localhost:4502
- Publish environment on localhost:4503
For AEM Communities,
-
The Author environment is for:
- Development of sites, templates, and components.
- Administrative and configuration tasks.
-
The Publish environment is for:
- The community experience of posting and moderating content.
- Creating community groups, members and member groups.
Install Latest Communities Release install-latest-communities-release
This tutorial creates an engagement community site and is based on AEM Communities 6.2 feature pack version 1.10.
To ensure the latest feature pack is installed, visit:
Configure Analytics configure-analytics
When Adobe Analytics is configured for the community site, information on community activity is available that enhances the community member’s experience and provides feedback to administrators of the site.
Integration with Adobe Analytics is optional.
Configure Email for Notifications configure-email-for-notifications
The notifications feature, available by default for all sites created using the Communities Sites
console, provides an email channel for notifications.
What is necessary is for email to be properly configured for the site.
See Configuring Email.
Enable the Tunnel Service enable-the-tunnel-service
When creating a community site in the Author environment, the tunnel service makes possible the ability to assign roles to trusted community members registered in the Publish environment. The tunnel service also allows access to community members from the Members and Groups consoles in the author environment.
The convention is for members and member groups created in the Publish environment to not be recreated in the author environment. For more information, see Managing Users and User Groups.
For simple instructions to enable the tunnel service on an Author instance, see Tunnel Service.
Community Administrator Role community-administrator-role
Members of the Community Administrators group are able to create community sites, manage sites, manage members (they can ban members from the community), and moderate content.
Create User create-user
Create a user on author, who is assigned the role of Community Administrator:
-
On the author instance
- For example, http://localhost:4502/
-
Sign in with administrator privileges
- For example, username ‘admin’ / password ‘admin’
-
From the main console, navigate to Tools > Operations > Security > Users.
-
From the Edit menu, select Add User
-
In the
Create New User
dialog enter:- ID: sirius
- Email Address: sirius.nilson@mailinator.com
- Password: password
- Confirm Password*: password
- First Name: Sirius
- Last Name: Nilson
Assign Sirius to Community Administrators Group assign-sirius-to-community-administrators-group
Scroll down to Add User to Groups
:
-
Enter ‘C’ to search
- Select
Community Administrators
- Select
Community Enablement Managers
- Select
-
Select Save.
Enable Social Login enable-social-login
Before the demonstration versions of social login with Facebook and Twitter may be used, it is necessary to
- Install a fix pack or latest feature pack (for March 2017 Facebook API changes).
- Enable the OAuth provider in the publish environment.
For production servers, it is necessary to create the cloud services necessary to provide social login.
Create Tutorial Tags create-tutorial-tags
Create tags so you can use them for the engage tutorials, using the tag namespace of Tutorial
.
Use the Tagging console to create the following tags:
Tutorial: Sports / Baseball
Tutorial: Sports / Gymnastics
Tutorial: Sports / Skiing
Tutorial: Arts / Visual
Tutorial: Arts / Auditory
Tutorial: Arts / History
Then follow the instructions to:
Sample package of tags created for the AEM Communities Getting Started Tutorials
MongoDB for UGC Common Store mongodb-for-ugc-common-store
It is recommended, but optional, to set MSRP (MongoDB) as the common store to experience the flexibility of moderating all UGC from either publish and/or author environments.
For instructions visit How to Setup MongoDB for Demo.
By default, the installation of the author and publish AEM instances result in user generated content (UGC) being stored in JCR Tar storage which is accessed using JSRP. JSRP is not a common store, which means UGC is visible only on the instance on which it was entered. Typically, UGC is entered on a publish instance and would not be visible in the author environment, resulting in all moderation tasks needing to use the publish instance.