Skip to content

Running from a Branch

Tim Fischbach edited this page Nov 4, 2024 · 1 revision

To run a version of Pageflow that has not yet been released as a gem, first set up a fork for development locally. Create a branch and invoke the following script to compile and commit assets:

$ git checkout -b your-edge-branch
$ bin/build-edge

The script adds a commit that includes all build outputs that are part of a gem release, but normally ignored by Git. Push the branch to your fork:

$ git push origin your-edge-branch

In you host application, you can now install Pageflow from your edge branch:

# Gemfile

gem 'pageflow', git: '[email protected]:your-account/pageflow', branch: 'your-edge-branch'

Run bundle install in the host application and proceed with the usual steps to update Pageflow.