Setting up rake-pipeline for use with handlebars alongside Google App Engine

后端 未结 2 1439
余生分开走
余生分开走 2020-12-03 04:19

So here\'s what I\'m attempting to do. I\'m building an ember.js application, with a java backend running on GAE.

I\'m using handlebars, but I want them divided up i

2条回答
  •  清歌不尽
    2020-12-03 04:44

    Since you're not a Ruby person, here are the most reliable steps for getting a stock OSX environment set up with rake pipeline:

    Step 1: Install bundler

    # on OSX, using built-in Ruby
    $ sudo gem install bundler --pre
    

    Step 2: Create a Gemfile

    # inside your app directory
    $ bundle init
    
    # will create a file named Gemfile in the root
    

    Step 3: Add rake-pipeline to the Gemfile

    # inside the Gemfile
    gem "rake-pipeline-web-filters"
    

    Step 4: Install your gems

    $ bundle install --binstubs
    

    Step 5: Set up Assetfile

    However you were already doing it...

    Step 6: Run Rake::Pipeline

    # to run the preview server
    $ bin/rakep
    
    # to build your assets
    $ bin/rakep build
    

提交回复
热议问题