Change heroku process to grunt

Explain it.
This commit is contained in:
Stephen James
2015-01-26 16:19:51 -05:00
parent ae2b0a3eeb
commit 411ded64ec
3 changed files with 9 additions and 2 deletions

View File

@@ -167,3 +167,10 @@ With Travis installed and the build number acquired now run the following comman
travis restart 9999
```
## Edge servers
A build of master is available at `https://fuelux-dev.herokuapp.com/dist/js/fuelux.js` and `https://fuelux-dev.herokuapp.com/dist/css/fuelux.css`.
_These files should never be used in production and may not have been fully tested._
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`.

View File

@@ -124,7 +124,7 @@ module.exports = function(grunt) {
server: {
options: {
hostname: '*',
port: 8000,
port: process.env.PORT || 8000,
useAvailablePort: true // increment port number, if unavailable...
}
},

View File

@@ -1 +1 @@
web: node devserver.js
web: grunt dist && node devserver.js