Question: I'm building my portfolio and made simple etch-a-sketch project with HTML/CSS and Javascript. I'm trying to host the site on Heroku but i'm getting this error:

```
remote:  !     No default language could be detected for this app.
remote:             HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
remote:             See https://devcenter.heroku.com/articles/buildpacks

```

This is basically a static site, I don't really need a buildpack, is there any way I can still push what I have to Heroku?

Answer: 
Heroku is normally used for deploying apps, not static sites. I find using GitHub pages to be much easier for static site hosting. If your project is already on GitHub just go to the settings tab of your repo, scroll to the GitHub pages section, and select which branch of your repo you want to deploy. \*\*edit - Just make sure your home html file is titled index.html

But if you do need to use Heroku for whatever reason, [here is a guide on how to do so](https://gist.github.com/wh1tney/2ad13aa5fbdd83f6a489). It shows how to create the composer.json and index.php needed for a static site.
By far the easiest solution I have found is, with a home page `home.html`, to create a single-line `index.php` file:

`<?php include_once('home.html'); ?>`

---

I recently found that `home.html` should be enclosed in single quotes and not double quotes. Originally I had been deploying a version with `include_once("home.html")` instead of `include_once('home.html')` and around the same time Heroku eliminated their free tier the server started to throw the error:

`PHP Fatal error: Uncaught Error: Undefined constant "“home" in /app/index.php:1`

Making the change from `"home.html"` to `'home.html'` fixed the problem.