Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 06a21b9

Browse files
Switch Heroku to grunt dist and serve for edge server
1 parent 8ec7f07 commit 06a21b9

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = function (grunt) {
7777
server: {
7878
options: {
7979
hostname: '*',
80-
port: 8000,
80+
port: process.env.PORT || 8000,
8181
useAvailablePort: true // don't be greedy with your ports
8282
}
8383
},

Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: node www/server.js
1+
web: grunt dist && node www/server.js

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,15 @@ fuelux-mctheme/
6565

6666
Have a bug or a feature request? Please first review the [open issues](https://github.com/ExactTarget/fuelux-mctheme/issues), then search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/ExactTarget/fuelux-mctheme/issues/new). The issue may be a bug in Bootstrap or Fuel UX. If you think it is, please post in the respective repository.
6767

68+
## Edge servers
69+
70+
A build of master is available at `https://fuelux-mctheme.herokuapp.com/dist/css/fuelux-mctheme.css`.
71+
72+
_These files should never be used in production and may not have been fully tested._
73+
74+
To create your own edge server, setup a github web hook on Heroku for this repository and put the app into development mode with `heroku config:set NPM_CONFIG_PRODUCTION=false`.
75+
76+
6877
##Philosophy and authors
6978

7079
### The Fuel UX Philosophy

0 commit comments

Comments
 (0)