mirror of
https://github.com/strapi/strapi.git
synced 2026-01-07 04:33:46 +00:00
Add documentation
This commit is contained in:
parent
1fab158880
commit
4e9ba1280b
@ -10,7 +10,7 @@ Create a new project
|
||||
```bash
|
||||
strapi new <name>
|
||||
|
||||
options: [--dev|--debug|--dbclient=<dbclient> --dbhost=<dbhost> --dbport=<dbport> --dbname=<dbname> --dbusername=<dbusername> --dbpassword=<dbpassword> --dbssl=<dbssl> --dbauth=<dbauth> --dbforce]
|
||||
options: [--dev|--debug|--quickstart|--dbclient=<dbclient> --dbhost=<dbhost> --dbport=<dbport> --dbname=<dbname> --dbusername=<dbusername> --dbpassword=<dbpassword> --dbssl=<dbssl> --dbauth=<dbauth> --dbforce]
|
||||
```
|
||||
|
||||
- **strapi new <name>**<br/>
|
||||
@ -18,16 +18,19 @@ options: [--dev|--debug|--dbclient=<dbclient> --dbhost=<dbhost> --dbport=<dbport
|
||||
|
||||
- **strapi new <name> --dev**<br/>
|
||||
Generates a new project called **<name>** and creates symlinks for the `./admin` folder and each plugin inside the `./plugin` folder. It means that the Strapi's development workflow has been set up on the machine earlier.
|
||||
|
||||
|
||||
- **strapi new <name> --debug**<br/>
|
||||
Will display the full error message if one is fired during the database connection.
|
||||
|
||||
- **strapi new <name> --quickstart**<br/>
|
||||
Use the quickstart system to create your all.
|
||||
|
||||
- **strapi new <name> --dbclient=<dbclient> --dbhost=<dbhost> --dbport=<dbport> --dbname=<dbname> --dbusername=<dbusername> --dbpassword=<dbpassword> --dbssl=<dbssl> --dbauth=<dbauth> --dbforce**<br/>
|
||||
|
||||
Generates a new project called **<name>** and skip the interactive database configuration and initilize with these options.
|
||||
- **<dbclient>** can be `mongo`, `postgres`, `mysql`.
|
||||
- **<dbssl>** and **<dbauth>** are available only for `mongo` and are optional.
|
||||
- **--dbforce** Allows you to overwrite content if the provided database is not empty. Only available for `postgres`, `mysql`, and is optional.
|
||||
- **--dbforce** Allows you to overwrite content if the provided database is not empty. Only available for `postgres`, `mysql`, and is optional.
|
||||
|
||||
See the [CONTRIBUTING guide](https://github.com/strapi/strapi/blob/master/CONTRIBUTING.md) for more details.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user