Giter Club home page Giter Club logo

heroku-erlang-example's Introduction

prereqs

See directions here or use homebrew if you're on a Mac:

brew install erlang

Then install Heroku Toolbelt.

install

Clone this repo with git clone git://github.com/6/heroku-erlang-example.git

cd into it, and then:

make
foreman start

This will start the web server locally at http://localhost:5000

running on heroku with Heroku's erlang buildpack

heroku create
heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-erlang.git

Then just push it to heroku with git push heroku master

Or just use this button to deploy your own copy to Heroku: Deploy

heroku-erlang-example's People

Contributors

6 avatar tommay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

heroku-erlang-example's Issues

webmachine, "1.9.*" no more?

on my Ubuntu I cant make at all:

==> heroku-erlang-example (get-deps)
ERROR: Dependency dir /home/z/heroku-erlang-example/deps/webmachine failed application validation with reason:
{version_mismatch,{"/home/z/heroku-erlang-example/deps/webmachine/src/webmachine.app.src",
                   {expected,"1.9.*"},
                   {has,"1.10.5-17-g7e40434"}}}.

I did change rebar.config but then I get Heroku problems, I also manually got webmachine 1.9.3 and

make all
==> mochiweb (get-deps)
==> webmachine (get-deps)
==> heroku-erlang-example (get-deps)
==> mochiweb (compile)
src/mochifmt_records.erl:12: parameterized modules are no longer supported
src/mochifmt_records.erl:19: variable 'Recs' is unbound

Any way out? Thanks!

Can't build or push to Heroku

I realize this is unmaintained, but I am unable to build this or deploy on Heroku:

src/webmachine_resource.erl:188: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

And when attempting git push heroku master:

remote: -----> Building with Rebar
remote:        Uncaught error in rebar_core: {'EXIT',
remote:                                       {undef,
remote:                                        [{crypto,start,[],[]},
remote:                                         {rebar,run_aux,1,
remote:                                          [{file,"src/rebar.erl"},{line,98}]},
remote:                                         {rebar,main,1,
remote:                                          [{file,"src/rebar.erl"},{line,53}]},
remote:                                         {escript,run,2,
remote:                                          [{file,"escript.erl"},{line,752}]},
remote:                                         {escript,start,1,
remote:                                          [{file,"escript.erl"},{line,276}]},
remote:                                         {init,start_it,1,[]},
remote:                                         {init,start_em,1,[]}]}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.