Last active
January 2, 2018 00:55
-
-
Save maggit/8f44c5c81dddc4bf7fa5 to your computer and use it in GitHub Desktop.
Agregar un sitio estatico con una linea de php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php include_once("home.html"); ?> |
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
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