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: 
You can perform these steps:-

**1)** Add a file called `composer.json` to the root directory by running `touch composer.json`

**2)** Add a file called `index.php` to the root directory by running `touch index.php`

**3)** Rename the homepage (e.g. index.html) to `home.html`

**4)** In `index.php`, add the following line: `<?php include_once("home.html"); ?>`

**5)** In `composer.json`, add the following line: {}

**6)** Run `git push heroku master`

**OR**

While being in your website directory run these commands

**1)** $ `echo '{}' > composer.json`

**2)** $ `echo '<?php include_once("home.html"); ?>' > index.php`

**3)** $ `mv index.html home.html`(If you already have a HTML file name `index`)

Thanks to [@wh1tney](https://gist.github.com/wh1tney)
Here is the link to her post.

Link:- <https://gist.github.com/wh1tney/2ad13aa5fbdd83f6a489>
You can try to follow the these steps: 

1. Rename your `index.html` file to home.html
2. Create a file called `index.php` in the root directory
3. Write the following line in the file `<?php include_once("home.html"); ?>`
4. Now, create a file called `composer.json` and write the follwing line in it: {}
5. Now say $ git add.
6. $ git commit -m "deploying static--err, dynamic site to heroku"
7. heroku login

> 
> Enter your Heroku credentials:  
> 
>  Email: `<YOUR HEROKU EMAIL>`  
> 
>  Password: `<YOUR HEROKU PASSWORD>`
> 
> 
> 

8. heroku create
9. heroku git:remote -a
10. git push heroku master