0
0
Remixframework~10 mins

Deploying to Fly.io in Remix - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to initialize Fly.io deployment with the correct command.

Remix
flyctl [1]
Drag options to blanks, or click blank then click option'
Adeploy
Bstart
Cinit
Drun
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'start' instead of 'deploy' which does not trigger deployment.
Using 'init' which is for setup, not deployment.
2fill in blank
medium

Complete the code to create a new Fly.io app with the correct flag.

Remix
flyctl apps create [1]
Drag options to blanks, or click blank then click option'
A--name
B--region
C--config
D--port
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--region' which sets location, not the app name.
Using '--port' which is for network settings.
3fill in blank
hard

Fix the error in the Fly.io deployment command by filling the missing option.

Remix
flyctl deploy --config [1]
Drag options to blanks, or click blank then click option'
ADockerfile
Bpackage.json
Cremix.config.js
Dfly.toml
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'package.json' which is for Node.js dependencies.
Using 'Dockerfile' which is for container builds but not the config file here.
4fill in blank
hard

Fill both blanks to set the Fly.io app region and port correctly.

Remix
flyctl deploy --region [1] --port [2]
Drag options to blanks, or click blank then click option'
Aiad
B8080
C3000
Dlhr
Attempts:
3 left
💡 Hint
Common Mistakes
Using a port number that Remix does not listen on by default.
Choosing a region far from your users.
5fill in blank
hard

Fill all three blanks to configure environment variables for Fly.io deployment.

Remix
flyctl secrets set [1]=[2] --app [3]
Drag options to blanks, or click blank then click option'
ADATABASE_URL
Bpostgres://user:pass@host/db
Cmy-remix-app
DAPI_KEY
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing variable names and values incorrectly.
Using a wrong app name that does not exist.