Skip to content

Commit

Permalink
💬 Added details for using GitPod within Create Redwood App (#9364)
Browse files Browse the repository at this point in the history
Co-authored-by: Tobbe Lundberg <[email protected]>
  • Loading branch information
ahaywood and Tobbe authored Nov 18, 2023
1 parent 8c4a520 commit 43227f3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/create-redwood-app/src/create-redwood-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ function isYarnBerryOrNewer() {
return false
}

const USE_GITPOD_TEXT = [
` As an alternative solution, you can launch a Redwood project using GitPod instead. GitPod is a an online IDE.`,
` See: ${terminalLink(
'Launch Redwood using GitPod',
'https://gitpod.io/#https://github.com/redwoodjs/starter',
{
fallback: () =>
'Launch Redwood using GitPod https://gitpod.io/#https://github.com/redwoodjs/starter',
}
)}`,
]

async function executeCompatibilityCheck(templateDir) {
const tuiContent = new ReactiveTUIContent({
mode: 'text',
Expand Down Expand Up @@ -105,6 +117,8 @@ async function executeCompatibilityCheck(templateDir) {
'Tutorial - Prerequisites https://redwoodjs.com/docs/tutorial/chapter1/prerequisites',
}
)}`,
'',
...USE_GITPOD_TEXT,
].join('\n')
)

Expand Down Expand Up @@ -138,6 +152,8 @@ async function executeCompatibilityCheck(templateDir) {
'Tutorial - Prerequisites https://redwoodjs.com/docs/tutorial/chapter1/prerequisites',
}
)}`,
'',
...USE_GITPOD_TEXT,
].join('\n')
)

Expand Down Expand Up @@ -172,6 +188,8 @@ async function executeCompatibilityCheck(templateDir) {
'Tutorial - Prerequisites https://redwoodjs.com/docs/tutorial/chapter1/prerequisites',
}
)}`,
'',
...USE_GITPOD_TEXT,
].join('\n')
)

Expand Down

0 comments on commit 43227f3

Please sign in to comment.