Home - Gastove/meanrecipes GitHub Wiki

Right. So, getting Scalatra up and flying with Heroku has been... an adventure. But. It works now. I fixed it. Here's the deal:

We're making an app with basically two parts, right -- the front end and the back end. Well, as I work on the backend, I can't just deploy the backend to Heroku within the structure of our project. For that to work, the backend has to be an entirely separate app, with an entirely separate repo. So that's fun.

The solution, as near as I can tell, is one of two things:

  1. This API I'm building is just a separate, private app the front end hits,

or

  1. We load my backend in to the final product as a git submodule (details here) -- basically, it allows one git repo to use a second, independent repo within itself.

Point is: there are two repos now, which is sort of derpy, and I assume we can fix that as we go :-P.