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
22 changes: 9 additions & 13 deletions docs/pre-requisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ lang: en

# Prerequisites

In order to use start using Scully, you need an existing Angular application with **v8.x.x** or **v9.x.x** or You can create a new Angular 9 application by running the following command:
In order to start using Scully, you need an existing Angular application with **v8.x.x** or **v9.x.x**.

#### IMPORTANT:

_Scully depends on the application's router module in order to generate the website's pages. Your application must include a RouterModule._

You can create a new Angular 9 application by running the following command:

```bash
npx -p @angular/cli ng new my-scully-app
npx -p @angular/cli ng new my-scully-app --routing
```

If the above command fails, install the Angular CLI globally with the following command:
Expand All @@ -21,17 +27,7 @@ npm install -g @angular/cli
Then, create a new application.

```bash
ng new my-scully-app
```

#### IMPORTANT:

_Scully depends on the application's router module in order to generate the website's pages_

Add a router module with the following command:

```bash
ng generate module app-routing --flat --module=app
ng new my-scully-app --routing
```

Find more info about the Angular CLI here [👉 angular.io/cli](https://angular.io/cli)
Expand Down
22 changes: 9 additions & 13 deletions docs/pre-requisites_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ lang: es

# Requisitos previos

Para comenzar a usar Scully, se necesita una aplicación Angular existente con **v8.x.x** o **v9.x.x** o puede crear una nueva aplicación Angular 9 ejecutando el siguiente comando:
Para comenzar a usar Scully, se necesita una aplicación Angular existente con **v8.x.x** o **v9.x.x**.

#### IMPORTANTE:

_Scully depende del módulo de rutas de la aplicación para generar las páginas del sitio web_

Puede crear una nueva aplicación Angular 9 ejecutando el siguiente comando:

```bash
npx -p @angular/cli ng new my-scully-app
npx -p @angular/cli ng new my-scully-app --routing
```

Si el comando anterior falla, instale el Angular CLI globalmente con el siguiente comando:
Expand All @@ -21,17 +27,7 @@ npm install -g @angular/cli
Luego, crea una nueva aplicación.

```bash
ng new my-scully-app
```

#### IMPORTANTE:

_Scully depende del módulo de rutas de la aplicación para generar las páginas del sitio web_

Agregue un módulo de rutas con el siguiente comando:

```bash
ng generate module app-routing --flat --module=app
ng new my-scully-app --routing
```

Encuentre más información sobre el Angular CLI aquí [👉 angular.io/cli](https://angular.io/cli)
Expand Down