started a new app but no directory created

fly launc and fly only wrote a fly.toml and then stop …

Wrote config file fly.toml
egage@FVFF109QQ05P bdd % 

fly launch doesn’t deploy your app if you answer “no” on the last question. You can use fly deploy to deploy the app once you have fly.toml.

% fly launch 
Creating app in /home/kaz/ws/heyfly2
Scanning source code
Detected a Dockerfile app
? Choose an app name (leave blank to generate one): 
automatically selected personal organization: kaz-fly
Some regions require a paid plan (fra, maa).
See https://fly.io/plans to set up a plan.

? Choose a region for deployment: Seattle, Washington (US) (sea)
App will use 'sea' region as primary
Created app 'blue-hill-5775' in organization 'personal'
Admin URL: https://fly.io/apps/blue-hill-5775
Hostname: blue-hill-5775.fly.dev
? Would you like to set up a Postgresql database now? No
? Would you like to set up an Upstash Redis database now? No
Wrote config file fly.toml
? Would you like to deploy now? No
Your app is ready! Deploy with `flyctl deploy`

Hello, thanks for the answer, but actually I didn’t get through that point. As I said on my topic, its top to work directly after wrote the fly.tmol like in the picture.

Envoyé à partir de Outlook pour iOS

egage@FVFF109QQ05P Desktop % fly launch
Creating app in /Users/egage/Desktop
Scanning source code
Could not find a Dockerfile, nor detect a runtime or framework from source code. Continuing with a blank app.
? Choose an app name (leave blank to generate one): netoparktest
? Select Organization: Netopie (netopie)
Some regions require a paid plan (fra, maa).
See https://fly.io/plans to set up a plan.

? Choose a region for deployment: Paris, France (cdg)
App will use 'cdg' region as primary
Created app 'netoparktest' in organization 'netopie'
Admin URL: https://fly.io/apps/netoparktest
Hostname: netoparktest.fly.dev
? Create .dockerignore from 1 .gitignore files? Yes
Created /Users/egage/Desktop/.dockerignore from 1 .gitignore files.
Wrote config file fly.toml
egage@FVFF109QQ05P Desktop % ls
egage@FVFF109QQ05P Desktop % fly deploy netoparktest

Error: failed changing working directory: chdir /Users/egage/Desktop/netoparktest: no such file or directory

I have no directory and I can’t deploy also … I’m on paid plan but I can’t see the support email on the billing section …

Porblem solved.

Actually my lazy brain was trying to push nothing to deploy…
the image was empty so obviously no docker file or something else.
It’s a shame I didn’t get it faster…

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.