|Facebook Application Development in Php|
When I had to add new files to the existing project the following steps proved to be the solution
"In a nutshell, you will use
git addto start tracking new files and also to stage changes to already tracked files, then
git diffto see what has been modified and staged and finally
git committo record your snapshot into your history. This will be the basic workflow that you use most of the time." Reference
Commands I used
- git add . : As mentioned above, to add new files.
- git commit -am "--comment--" : To commit the changes
- git push heroku : To push the committed changes to the web
- heroku logs : This command retrieves the log from the web and display it on the command line. I use it when I find the following error message in the browser
"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."
Something I reassured on the way:
/ means the root directory
./ means the current directory
../ means the parent directory
After a 6 hour long effort I've found some success. But unfortunately, recognized some drawbacks which were never mentioned in the Heroku documentation.
- Heroku is very much focus on Ruby on Rails
- Heroku doesn't suppport ImageMagick but it does support GD. The support for GD is also limited and it totally avoid processing jpeg files which is very important. Again, it doesn't support functions like imagecreatefromstring() and imagecopymerge() without which I cannot complete my applications.
I got a private beta account opened in PHP Fog from via invitation from TechCrunch and now I'm gonna try my hands on PHP Fog.