Last active
August 29, 2015 14:14
-
-
Save Epigene/b3549d581d2084947a5f to your computer and use it in GitHub Desktop.
Static pages with dokku
This file contains hidden or 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
# 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