Skip to content

Instantly share code, notes, and snippets.

@Epigene
Last active August 29, 2015 14:14
Show Gist options
  • Save Epigene/b3549d581d2084947a5f to your computer and use it in GitHub Desktop.
Save Epigene/b3549d581d2084947a5f to your computer and use it in GitHub Desktop.
Static pages with dokku
# Static html serving via dokku:
1. make .env in root, include the line “export BUILDPACK_URL=https://github.com/florianheinemann/buildpack-nginx.git”;
2. make .static (an empty file for buildpack to pick up it will be a static app)
3. make www directory
4. place index.html along with .css into www folder to be served. (Assets come in www/assets/)
5. init git remote
$ git remote add dokku [email protected]:<domain.com>
6. $ git push dokku master
7. visit working site.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment