Coder Social home page Coder Social logo

Comments (11)

thomasboyt avatar thomasboyt commented on August 16, 2024

Amazon S3 is mentioned in the docs: https://github.com/stefanpenner/ember-app-kit/wiki/Getting-Started#deploying

Heroku and GitHub pages are tricky because they involve setting up a repo for your production assets. Might be a good idea to at least have some hints on doing that.

from ember-app-kit.

owain avatar owain commented on August 16, 2024

FYI - Yeoman has some wiki notes on using git subtree with the dist directory to deploy to GitHub Pages - https://github.com/yeoman/yeoman/wiki/Deployment

Possibly related to #27

from ember-app-kit.

mikegrassotti avatar mikegrassotti commented on August 16, 2024

@ebryn yeah it's gotta be dead-simple.

It was pretty easy to deploy my fork to gh-pages, here's what worked for me:

grunt build:dist
cd dist
git init
git add .
git commit -m "Site updated"
git remote add origin [email protected]:mikegrassotti/ember-app-kit
git push origin master:refs/heads/gh-pages --force
rm -rf .git
cd ..

This makes the app available at: http://mikegrassotti.github.io/ember-app-kit/

Thinking it might be cool to make this more generic and include as grunt publish or something. Thoughts?

from ember-app-kit.

stefanpenner avatar stefanpenner commented on August 16, 2024

i think the hook should be.

grunt deploy
grunt deploy:staging
grunt deploy:production

EAK can provide the pipeline, maybe not the actual deploy code/config, maybe just instructions. i want to prevent to much of kitchen sink problem. That being said, we do want all of this to be nice and simple.

from ember-app-kit.

ebryn avatar ebryn commented on August 16, 2024

I really would like to drive out a solution for Heroku. Right now I'm manually building from EAK and copying over to another repo for deployment to Heroku.

Maybe having a gh-pages-esque branch for Heroku deploys would make the most sense?

from ember-app-kit.

ebryn avatar ebryn commented on August 16, 2024

I've got Heroku deploys working with a poorly written shell script, a connect server, and a Procfile: https://gist.github.com/ebryn/1f9989ef472bf751cf66

You can setup the deploys branch by doing:

git checkout --orphan deploys
git rm -rf .

Copy the server.js, Procfile, and npm init && npm install connect --save. Also setup a .gitignore if you'd like.

from ember-app-kit.

gunn avatar gunn commented on August 16, 2024

@ebryn making a heroku buildpack would be the cleanest option and means no need for a separate branch, just deploy with git push heroku. See https://devcenter.heroku.com/articles/buildpacks

Lineman.js takes this approach:
https://github.com/testdouble/heroku-buildpack-lineman

from ember-app-kit.

mikegrassotti avatar mikegrassotti commented on August 16, 2024

Great idea, very clean. I'm going to give this a try...

Sent from Mailbox for iPhone

On Tue, Sep 10, 2013 at 5:58 PM, Arthur Gunn [email protected]
wrote:

@ebryn making a heroku buildpack would be the cleanest option and means no need for a separate branch, just deploy with git push heroku. See https://devcenter.heroku.com/articles/buildpacks
Lineman.js takes this approach:

https://github.com/testdouble/heroku-buildpack-lineman

Reply to this email directly or view it on GitHub:
#25 (comment)

from ember-app-kit.

alvincrespo avatar alvincrespo commented on August 16, 2024

👍 I did build an elegant solution to this a while back using the Ember Starter Kit and modifying it to fit the Heroku push scenario. I haven't looked into S3, but I can give it a try. @mikegrassotti thanks for the share on that - Ill try it out. @gunn Good share as well.

What section would something like this be in? I'm thinking either in a sub-section of FAQ's or a Deployment page? But I agree with @stefanpenner that we may not want to solve every solution but give techniques that might empower other devs?

from ember-app-kit.

rwjblue avatar rwjblue commented on August 16, 2024

@alvincrespo - I had a PR a while back that shows how to incorporate an S3 deploy (see #102). I have been meaning to add a section to the gh-pages branch for this, but haven't gotten to it yet...

from ember-app-kit.

stefanpenner avatar stefanpenner commented on August 16, 2024

I believe good advice has been provided. But this is likely out-of-scope of the EAK project itself, at least for now.

from ember-app-kit.

Related Issues (20)

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.