| 
									
										
										
										
											2024-01-20 19:27:36 +08:00
										 |  |  | # Environment Setup
 | 
					
						
							| 
									
										
										
										
											2022-12-24 23:51:30 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | The starter code and reference solution is available at [https://github.com/skyzh/mini-lsm](https://github.com/skyzh/mini-lsm). | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Install Rust
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | See [https://rustup.rs](https://rustup.rs) for more information. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Clone the repo
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | git clone https://github.com/skyzh/mini-lsm | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Starter code
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | cd mini-lsm/mini-lsm-starter | 
					
						
							|  |  |  | code . | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-26 12:54:04 -05:00
										 |  |  | ## Install Tools
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | cargo x install-tools | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-24 23:51:30 -05:00
										 |  |  | ## Run tests
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` | 
					
						
							| 
									
										
										
										
											2024-01-21 14:47:20 +08:00
										 |  |  | cargo x copy-test --week 1 --day 1 | 
					
						
							| 
									
										
										
										
											2022-12-24 23:51:30 -05:00
										 |  |  | cargo x scheck | 
					
						
							|  |  |  | ``` | 
					
						
							| 
									
										
										
										
											2024-01-20 12:05:57 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | {{#include copyright.md}} |