Skip to content

Commit d3e6cf3

Browse files
committed
improve init
1 parent 66b0abe commit d3e6cf3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

remix.init/index.mjs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,23 +218,21 @@ async function setupDeployment({ rootDirectory }) {
218218
console.log(`🗄️ Setting up Tigris object storage`)
219219
const $S = $({ stdio: ['inherit', 'ignore', 'inherit'], cwd: rootDirectory })
220220
if (shouldSetupStaging) {
221-
await $S`fly storage create --yes --app ${APP_NAME}-staging --name ${APP_NAME}-staging-epic-stack`
222-
console.log(` ✅ Created storage for staging`)
221+
await $S`fly storage create --yes --app ${APP_NAME}-staging --name epic-stack-${APP_NAME}-staging`
223222
}
224-
await $S`fly storage create --yes --app ${APP_NAME} --name ${APP_NAME}-epic-stack`
225-
console.log(` ✅ Created storage for production`)
223+
await $S`fly storage create --yes --app ${APP_NAME} --name epic-stack-${APP_NAME}`
226224

227225
const { shouldDeploy } = await inquirer.prompt([
228226
{
229227
name: 'shouldDeploy',
230228
type: 'confirm',
231229
default: true,
232230
message:
233-
'Would you like to deploy right now? (This will take a while, and you can always wait until you push to GitHub instead).',
231+
'Would you like to deploy right now? (This will take a while. You can wait until you push to GitHub instead).',
234232
},
235233
])
236234
if (shouldDeploy) {
237-
console.log(`🚀 Deploying apps...`)
235+
console.log(`🚀 Deploying`)
238236
if (shouldSetupStaging) {
239237
console.log(` Starting with staging`)
240238
await $I`fly deploy --app ${APP_NAME}-staging`

0 commit comments

Comments
 (0)