Skip to content

Commit 484b40b

Browse files
committed
new use this sample instructions
1 parent d51ed5f commit 484b40b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Samples/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ export default function Samples() {
179179
{/* <Stack direction="row" justifyContent="center" px={1} spacing={2}> */}
180180
<Box sx={{ flexGrow: 1, overflow: 'auto', '& .theme-code-block': { mb: 0 } }}>
181181
<small>
182-
Clone and open the sample in your terminal
182+
Use this sample (<b><a href="https://docs.defang.io/docs/getting-started/installing" target="_blank">requires Defang CLI v0.5.21 or later</a></b>)
183183
</small>
184184
<CodeBlock language="bash">
185-
{`git clone https://github.com/DefangLabs/samples dtmp && mv "dtmp/samples/${selectedSample.name}" "./${selectedSample.name}" && rm -rf ./dtmp && cd "./${selectedSample.name}"`}
185+
{`defang generate ${selectedSample.name}`}
186186
</CodeBlock>
187187
</Box>
188188
{/* </Stack> */}

0 commit comments

Comments
 (0)