Files to Remove After Drupal Installation,: pushed App still shows install page: Heroku Drupal インストール・ページから抜けられない

http://www.redbridgenet.com/drupal/files-to-remove-after-drupal-installation/

After an installation or upgrade you can and should remove the following files:

install.php
CHANGELOG.txt
INSTALL.txt
INSTALL.mysql.txt
INSTALL.pgsql.txt
LICENSE.txt
MAINTAINERS.txt
UPGRADE.txt

I’m basing this on the post “Finalize the upgrade” from the Drupal documentation. I’m actually going to add a couple new files for the latest installations:

INSTALL.sqlite.txt
COPYRIGHT.txt
README.txt

                                                                                                                • -

http://stackoverflow.com/questions/6351182/app-pushed-to-heroku-still-shows-standard-index-page

When you're using git and delete a file, that file is not automatically removed from the git repo. So when you git push heroku the file still exists and gets pushed to Heroku.In order to remove the file, you need to use git rm. In this case you need to do something like:

git rm install.php
git commit -m "Removed install.php"

which will remove the file from the current branch.

                                                • -
  • git pull heroku master
  • rm xxxxx (delete files)
  • git add .; git commit -m 'installation files removed'
  • git push heroku master