Skip to content

Instantly share code, notes, and snippets.

View sebasgraciavalderrama's full-sized avatar
🛰️
On the line

Sebastian Gracia sebasgraciavalderrama

🛰️
On the line
View GitHub Profile
<LocationGroups>
<xsl:for-each select="./School1">
<xsl:choose>
<xsl:when test=". = 'Adams City High School'">
<xsl:value-of select="'Adams City High School- student'" />
</xsl:when>
<xsl:when test=". = 'Lester R Arnold High School'">
<xsl:value-of select="'Lester R Arnold High School- student'" />
</xsl:when>
<xsl:when test=". = 'Adams City Middle School'">

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app.

Basic Assumptions