Skip to content

Instantly share code, notes, and snippets.

@maggit
Last active January 2, 2018 00:55
Show Gist options
  • Save maggit/8f44c5c81dddc4bf7fa5 to your computer and use it in GitHub Desktop.
Save maggit/8f44c5c81dddc4bf7fa5 to your computer and use it in GitHub Desktop.
Agregar un sitio estatico con una linea de php
<?php include_once("home.html"); ?>
@maggit
Copy link
Author

maggit commented Aug 21, 2014

Sí todo sale bien debe salir:

➜ git push heroku master
Initializing repository, done.
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (4/4), 305 bytes | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)

-----> PHP app detected

@maggit
Copy link
Author

maggit commented Aug 22, 2014

Para correr la app con foreman o con forego localmente, tienen que agregar un archivo más que se llame Procfile y que contenga la siguiente linea:

web: vendor/bin/heroku-php-apache2

Este es creado por default por heroku sí no se especifica, pero para correrla localmente la necesitamos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment