Reputation: 3223
This may look like an stupid question, but i didn't find any answer to my question.
I recently do in the Heroku Bash : php artisan make:controller user/edit
.
It's now there, in the cloud, but not in my computer. Please note that is not just with make:controller
but it can be with anything.
For example, pull a databse is easy, heroku db:pull
. But how to pull file?
I tried with git pull
, and I get an Already up-to-date.
answer.
I can't play with files, and this is not awesome.
Thanks
Upvotes: 0
Views: 121
Reputation: 2645
You can't, and that's intentional. See e.g. https://stackoverflow.com/a/28463836/162354 and https://stackoverflow.com/a/28083271/162354 for answers to the same question.
You run stuff like php artisan make:controller user/edit
on your local computer, test it there, and when stuff works, you push it up. That's the correct workflow. Heroku is not a development sandbox.
Upvotes: 1