How to edit the Heroku Procfile

Hello, I'm following your tutorial, and first of all thank you for this outstanding work. I'm using it from a Windows 7 machine. I couldn't do vagrant ssh, so I used putty instead. I saw that you created in a text editor the Procfile, but how did you make it available in the virtual machine?

Sorry You must be a logged in, registered user to answer a question.

Answers

If you save it in the shared folder (the same one your Vagrantfile is in) then it will appear in your vm as well as the host .

You can do it in your windows machine. /vagrant on VM maps to the directory you have unzipped the files on windows.
create a file named "Procfile" there, under ther projects/microblog directory. Put the following line in that file.

web: python manage.py runserver 0.0.0.0:$PORT --noreload

I can see the web "Dyno" at heroku, But I get the error

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details

Any file that you create/edit in your gswd directory (the directory where you ran vagrant up) should be shared with your virtual machine. Once in your vm, cd /vagrant and your files should be there.

Oh, yes. For some unknown reason it didn't seem to work. But today it is. I had forgotten about WinSCP, and that's what I ended up using so far.
eduardovs on