mirror of
				https://github.com/whyour/qinglong.git
				synced 2025-11-04 11:16:07 +08:00 
			
		
		
		
	修改yarn命令
This commit is contained in:
		
							parent
							
								
									8276a19012
								
							
						
					
					
						commit
						d00f2cd33b
					
				
							
								
								
									
										7
									
								
								.github/workflows/build_docker_image.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/build_docker_image.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -27,9 +27,10 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: build front and back
 | 
					      - name: build front and back
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          yarn install
 | 
					          npm i -g pnpm
 | 
				
			||||||
          yarn build:front
 | 
					          pnpm install
 | 
				
			||||||
          yarn build:back
 | 
					          pnpm build:front
 | 
				
			||||||
 | 
					          pnpm build:back
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: copy to static repo
 | 
					      - name: copy to static repo
 | 
				
			||||||
        env:
 | 
					        env:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -168,8 +168,10 @@ task <file_path> desi <env_name> <account_number>
 | 
				
			||||||
$ git clone git@github.com:whyour/qinglong.git
 | 
					$ git clone git@github.com:whyour/qinglong.git
 | 
				
			||||||
$ cd qinglong
 | 
					$ cd qinglong
 | 
				
			||||||
$ cp .env.example .env
 | 
					$ cp .env.example .env
 | 
				
			||||||
$ yarn install
 | 
					# 推荐使用 pnpm https://pnpm.io/zh/installation
 | 
				
			||||||
$ yarn start
 | 
					$ npm install -g pnpm
 | 
				
			||||||
 | 
					$ pnpm install
 | 
				
			||||||
 | 
					$ pnpm start
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
打开你的浏览器,访问 http://127.0.0.1:5700
 | 
					打开你的浏览器,访问 http://127.0.0.1:5700
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user