A simple yet inventive fellow for making hapi things.
Stimpy exists because a) we love hapi.js and b) because we host a weekly hack night where folks are always looking for ways to quickly build and publicly demo little web apps. The package manager and deploy function in Meteor is awesome, but comes with too much baggage. So Stimpy gives us just what we want for web inventions: a simple starting place, packages via npm or bower, and a one line deploy to a free public demo via heroku. All in 5 minutes or less - or your money back. We'd love to hear from you if you use Stimpy for your next hack - tweet us up at @bigroomstudios!
You'll need to have installed node, a heroku login and the heroku toolbelt.
To install stimpy:
$ npm install -g stimpy bower gulp
(You might need to sudo that depending on your system)
To create a starter app:
$ stimpy create medium my-new-app
$ cd my-new-app
$ stimpy start
This installs and runs a copy of the stimpy-medium boilerplate.
To test deploy:
$ stimpy deploy heroku
You'll want to point the git origin to your own repo:
$ git remote set-url origin [email protected]:yourgituser/your-app.git
After you make changes, you'll have to commit it to master before deploying:
$ git commit -am "made some awesome changes"
$ stimpy deploy heroku
Stimpy comes in several delicious flavors:
Lite for even less:
$ stimpy create lite my-new-app
Medium for a little refinement:
$ stimpy create medium my-new-app
API for the back end only:
$ stimpy create api my-new-app
Mobile for a mobile / web hybrid crocostimpy:
$ stimpy create mobile my-new-app
Polymer for hapi / polymer comboface:
$ stimpy create polymer my-new-app
- Use Yeoman instead of git for boilerplates / generators
- Support custom deploy locations
- Plug-ins / recipes for popular PaaS' (e.g. nodejitsu)
- Deploy rollback option
Trixel Stimpy thanks to Supernannerpuss
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.