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?
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.