Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (28 sloc) 1.04 KB

Zappa Template

An easy-to-use template for working with Zappa and CoffeeScript on Heroku.

Instructions

First, make sure you have npm installed.

Now, since all the dependencies are listed in the package.json file, simply run the following:

npm install

You should then be able to run the app.coffee script.

coffee app.coffee

You can also pass it an optional port parameter.

coffee app.coffee 5555

Heroku

Since the Procfile is already included, you first need to make sure you have the Heroku CLI installed.

Then run the following command -- with the name of your application substituted for app_name.

heroku create app_name --stack cedar
git push heroku master

You should then be able to see the live application.

heroku open

To see this template in action, visit: zappajs.herokuapp.com