Changed: README.md, Added: DEVELOPMENT.md
This commit is contained in:
parent
d041e59698
commit
0457302e2c
39
DEVELOPMENT.md
Normal file
39
DEVELOPMENT.md
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Development
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
Install the dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm install
|
||||||
|
```
|
||||||
|
|
||||||
|
## Get Started
|
||||||
|
|
||||||
|
Start the dev server:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm start
|
||||||
|
```
|
||||||
|
|
||||||
|
Build the app for production:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm build
|
||||||
|
```
|
||||||
|
|
||||||
|
Preview the Production build product:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm preview
|
||||||
|
```
|
||||||
|
|
||||||
|
Clear persistent cache local files
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm clean
|
||||||
|
```
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
Plan: Test serving using Nginx using Docker.
|
38
README.md
38
README.md
|
@ -1,37 +1,7 @@
|
||||||
# Farm + React
|
# CoWorkingSpace
|
||||||
|
|
||||||
This template should help you start developing using React and TypeScript in Farm.
|
## Features
|
||||||
|
|
||||||
## Setup
|
## Development
|
||||||
|
|
||||||
Install the dependencies:
|
Please refer to [Development](./DEVELOPMENT.md) for more information.
|
||||||
|
|
||||||
```bash
|
|
||||||
pnpm install
|
|
||||||
```
|
|
||||||
|
|
||||||
## Get Started
|
|
||||||
|
|
||||||
Start the dev server:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pnpm start
|
|
||||||
```
|
|
||||||
|
|
||||||
Build the app for production:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pnpm build
|
|
||||||
```
|
|
||||||
|
|
||||||
Preview the Production build product:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pnpm preview
|
|
||||||
```
|
|
||||||
|
|
||||||
Clear persistent cache local files
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pnpm clean
|
|
||||||
```
|
|
Loading…
Reference in New Issue
Block a user