Update README.md

This commit is contained in:
chenos 2022-05-17 15:15:09 +08:00 committed by GitHub
parent 568141e03b
commit d8b0aff120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,24 +164,19 @@ cd my-nocobase-app
📢 This next step may take more than ten minutes due to network environment, system configuration, and other factors. 📢 This next step may take more than ten minutes due to network environment, system configuration, and other factors.
```bash ```bash
# For production deployments, you can install only the necessary dependencies to reduce the dependency size and download time
yarn install --production
# Or, install the full dependencies
yarn install yarn install
``` ```
#### 4. Install & Start NocoBase #### 4. Install & Start NocoBase
```bash ```bash
# Start the application in a production environment. Recompile it if the source code has been modified (yarn build) yarn nocobase install --lang=en-US
yarn start yarn start
# Start the application in the development environment. The code will be compiled in real time
yarn dev
``` ```
#### 5. Log in to NocoBase #### 5. Log in to NocoBase
Open [http://localhost:13000](http://localhost:13000) in a web browser. The initial account and password are `admin@nocobase.com` and `admin123`. Open [http://localhost:8000](http://localhost:8000) in a web browser. The initial account and password are `admin@nocobase.com` and `admin123`.
## Contributing ## Contributing
@ -203,7 +198,7 @@ yarn install
```bash ```bash
# Install and start the application # Install and start the application
yarn dev yarn start
# Run all tests # Run all tests
yarn test yarn test
# Run all test files in the folder # Run all test files in the folder