Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/developer-docs/latest/developer-resources/cli/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Allowed environment variables:
| STRAPI_LOG_LEVEL | Values can be 'fatal', 'error', 'warn', 'info', 'debug', 'trace' | string | `debug` |
| STRAPI_LOG_TIMESTAMP | Enables or disables the inclusion of a timestamp in the log message. Values can be `true` or `false` | string | `false`|
| STRAPI_LOG_FORCE_COLOR | Values can be `true` or `false` | string | `true` |
| STRAPI_LOG_PRETTY_PRINT | If pino-pretty module will be used to format logs. Values can be `true` or `false` | string | `true` |
| STRAPI_LOG_PRETTY_PRINT | If `true` then pino-pretty module will be used to format logs. Values can be `true` or `false` | string | `true` |

## strapi build

Expand All @@ -98,7 +98,7 @@ options: [--no-optimization]

## strapi watch-admin

Starts the admin server. Strapi should already be running with `strapi develop`.
Starts the admin server. Strapi should already be running with `strapi develop`.

```sh
strapi watch-admin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const transporter = nodemailer.createTransport({
},
});

module.exports = createCoreService('api::restaurant.restaurant', ({ strapi }) => ({
module.exports = createCoreService('api::restaurant.restaurant', ({ strapi }) => ({
send(from, to, subject, text) {
// Setup e-mail data.
const options = {
Expand All @@ -97,7 +97,7 @@ module.exports = createCoreService('api::restaurant.restaurant', ({ strapi }) =>
// Return a promise of the function that sends the email.
return transporter.sendMail(options);
},
});
}));
```

The service is now available through the `strapi.service('api::email.email').send(...args)` global variable. It can be used in another part of the codebase, like in the following controller:
Expand Down
8 changes: 4 additions & 4 deletions docs/developer-docs/latest/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ Let's go to ![Content Manager icon](../assets/quick-start-guide/icons/content.sv

1. Click on **Add new entry**.
2. Type `French Food` in the _Name_ field.
4. Click **Save**.
5. Go back to _Collection types - Category_, then click again on **Add new entry**.
6. Type `Brunch` in the _Name_ field, then click **Save**.
3. Click **Save**.
4. Go back to _Collection types - Category_, then click again on **Add new entry**.
5. Type `Brunch` in the _Name_ field, then click **Save**.

![GIF: Add Categories](../assets/quick-start-guide/qsg-handson-categories.gif)

Expand Down Expand Up @@ -314,7 +314,7 @@ Now that you know the basics of creating and publishing content with Strapi, we

## 🚀 Part A: Create a new project with Strapi starters

Strapi [starters](https://strapi.io/starters) are the fastest way to kickstart your project. They cover many use cases (blog, e-commerce solution, corporate website, portfolio) and integrate with various technologies (Next, Gridsome, Next, Nuxt).
Strapi [starters](https://strapi.io/starters) are the fastest way to kickstart your project. They cover many use cases (blog, e-commerce solution, corporate website, portfolio) and integrate with various technologies (Next, Gridsome, Nuxt).

This quick start guide has been specifically tailored to use the [Next blog starter](https://strapi.io/starters/strapi-starter-next-js-blog). We highly recommend you to follow along with this starter. Once you get a better understanding of Strapi, you will be able to play with other starters on your own.

Expand Down