-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Documentation Getting Started Tutorial #3907
Conversation
… user creation, latest Beta version and shortly the new repeatable fields. Using FoodAdvisor in this tutorial.
…lete with pictures
Path: `~/Desktop/Projects/` | ||
|
||
Use **only one** of the following commands to create a new Strapi project: | ||
|
||
--- | ||
|
||
- (Using **yarn** to install the Strapi project (**recommended**). [Install yarn with these docs](https://yarnpkg.com/lang/en/docs/install/).) | ||
- (Use **yarn** to install the Strapi project (**recommended**). [Install yarn with these docs](https://yarnpkg.com/lang/en/docs/install/).) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not need ()
for all the line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The corrections have been done.
``` | ||
|
||
**or** | ||
|
||
- (Using **npm/npx** to install the Strapi project.) | ||
- (Use **npm/npx** to install the Strapi project.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same on this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All parenthesis () have been removed as per instructions.
::: | ||
|
||
You are now ready to create a new **Administrator** and new front-end **User**. | ||
|
||
## 2. Create an Adminstrator and front-end User | ||
|
||
The first step is to create an **Administrator** (or "root user") for your project. An **Administrator** has all administrator privileges and access rights. You will need to complete the following fields: | ||
The first step is to create an **Administrator** (or "root user") for your project. An **Administrator** has all administrator privileges and access rights. (You can read more about why **Administrators** and front-end **Users** are separate [here](https://blog.strapi.io/why-we-split-the-management-of-the-admin-users-and-end-users/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing )
at the end of the sentence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Good catch
|
||
You are now at the screen to add fields for your **Restaurant Content Type**. | ||
- Click on the `String` field | ||
- In the **Name** field, type `Restaurant_Name`. This field is the name of the restaurant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change the attribute name?
If you follow FoodAdvisor restaurant model you can use the same attribute name.
As you can see, we never use upper case letter in attributes name (but why not _
if needed)
This comment is for all other attributes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All attributes that were named without "_" have been changed.
|
||
The Restaurant Content Type will have a **String** field for the restaurant name, and a **Text** field (with a **WYSIWYG editor**) for the restaurant description. | ||
- Click on the `String` field | ||
- In the **Name** field, type `name`. This field is the name of the restaurant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The image here has a blue background (because of your auto insert)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed this and the user image. Thank you.
At this point, your project is empty. You need to create a new **Content Type**. | ||
### The Restaurant Content Type | ||
|
||
- Go to the **Content Type Builder** plugin, located in the left menu: Under **PLUGINS**: --> **Content Type Builder**. You are now able to see the three available **Content Types**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You never use .
at the end of all list lines. Expect here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These have all been fixed now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good - waiting for the video
This is now ready to be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of what you did:
This updated Getting Started Tutorial makes the major changes necessary for the new Groups and Repeatable Fields release:
In addition, the tutorial was almost completely rewritten to follow the upcoming style guide, better photos, and a more consistent tone.
My PR is a:
Main update on the:
Manual testing done on the following databases: