Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENDOC-641 Strapi -add create content and updates #665

Merged
merged 3 commits into from
Jan 27, 2023
Merged

Conversation

jyunmitch
Copy link
Collaborator

a lot of the images were updated with smaller file size versions and a couple were updated for the quotes content that will be needed for the next continuing content tutorial.

@@ -5,9 +5,9 @@ sidebarDepth: 2
# Entando Strapi
## Overview

Entando 7.1 offers Strapi integration to provide the flexibility and customization of a leading open source and headless CMS. Users are able to create and organize application content through the seamless incorporation of Strapi into the App Builder experience.
Entando 7.1 offers Strapi packaged business capability (PBC) to provide the flexibility and customization of a leading open source and headless CMS. Users are able to create and organize application content through the seamless integration of Strapi into the App Builder experience.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

offers a Strapi PBC


To add Keycloak role mapping for the `entando-strapi-config` and `entando-strapi-templates` clients:

1. [Login to your Keycloak instance](../../docs/consume/identity-management.md#logging-into-your-keycloak-instance) as an admin
2. From the left menu, select `Users`
1. [Login to your Keycloak instance](../../docs/consume/identity-management.md#logging-into-your-keycloak-instance) as an admin. The Keycloak admin page is located at the App Builder base URL plus /auth, e.g. `http://YOUR-SERVER-URL/auth`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Log in

@@ -42,8 +43,9 @@ spec:
```
ent kubectl apply -f strapi-pvc.yaml -n entando
```
>Note: Steps 1 and 2 are required to prevent an issue with memory allocation during microservices startup in a few environments such as OKD. But applying the persistent volume claim does not otherwise impact the installation of the Strapi bundles in any other environment.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would rearrange sentence 1 to close the gap between what is required and where it is required, followed by the explanation; the reader has to put those two things together to perform an action, so it's better to make it easier on them: "Environments such as OKD require steps 1 and 2 to prevent an issue with memory allocation during microservice startup." also - microservice is used as an adj so should be singular (e.g. wrt a recycling center that compresses cans you'd refer to that as can compression, not cans compression)

i feel really strongly about starting sentences with but, especially without a comma.. it's very choppy and informal :( would prefer "however, applying..." ??

use of "otherwise impact" and "in any other environment" in second sentence is kinda redundant. would omit "otherwise"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied first two recs.

But left 'otherwise' because I think it's necessary for it to be accurate. It is changing something even though it's not impacting it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rereading it i can see that

1. [Login to your Keycloak instance](../../docs/consume/identity-management.md#logging-into-your-keycloak-instance) as an admin
2. From the left menu, select `Users`
1. [Login to your Keycloak instance](../../docs/consume/identity-management.md#logging-into-your-keycloak-instance) as an admin. The Keycloak admin page is located at the App Builder base URL plus /auth, e.g. `http://YOUR-SERVER-URL/auth`.
2. From the left menu, select `Users` → `View all users` button
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

select the (select the button, not select button)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

took out button


#### Entando Strapi Application
![Strap Keycloak Role Mapping](./strapi-images/strapi-keycloak-settings.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strapi Keycloak..


4. Choose `Text` for the collection type

5. Add a new field named "quotes" and select `Short text`. Click `Finish` and `Save` before moving on unless you want to add additional fields.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"before moving on" - unnecessary


### Create Content in Strapi

Before you can configure the Strapi Content Template Widget, you must add content to your Strapi instance. Refer to the Strapi [Quick Start Guide](https://docs.strapi.io/developer-docs/latest/getting-started/quick-start.html) for a tutorial on content creation. Additional information is available in the [Strapi user guide](https://docs.strapi.io/user-docs/latest/getting-started/introduction.html).
Before you can configure the Strapi Content Template Widget, you must add content to your Strapi instance.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for a concrete example we should introduce it as such, like "as an example, to..." like what the tutorial shows you, describing the end goal. otherwise it's like the following steps are necessary for any work to be done in strapi

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a good idea but we do not do this elsewhere. We just tell them add this or do that. Will add something for now and see how that looks


6. Select “Content Manager” from the left sidebar to add entries to the quotes field

7. Select “Quote” under “Collection Types” and click `Create new entry`. Add a quote and click `Save`. Here are a few to choose from.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace period with colon


```
"You are your best thing." Toni Morrison
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice quotes!

#end
</div>
```
11. Click `Save` and it will be added to the Strapi Content Template list.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Click Save to add it to...

@jyunmitch jyunmitch changed the title ENDOC-641 Add content and updates ENDOC-641 Strapi -add create content and updates Jan 25, 2023
@@ -11,8 +11,9 @@ The Strapi PBC is available on the [Entando Cloud Hub](http://hub.entando.com).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE to self: Copy over to 7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants