Skip to content

infinitered/bluepotion

Repository files navigation

logo


BluePotion

BluePotion is maintained by Infinite Red, a web and mobile development company based in Portland, OR and San Francisco, CA.

Prerequisites

Warning, BluePotion is an alpha release.

BluePotion is the Android version of RedPotion. We're spending a lot of time working on it right now. It's currently in Alpha.

We are building RMQ Android, ProMotion Android, and BluePotion all at once, and they all are inside BluePotion.

We're supporting Android XML layouts, using RMQ stylesheets the standard Android way, and eventually an exact copy of RedPotion's layout system.

Many things work, but there is a lot to do, so use it at your own risk.

To try it out:

gem install bluepotion
bluepotion create myapp
cd myapp
bundle
brew install gradle # if gradle is not installed. Requires homebrew
rake gradle:install

# Start your Genymotion virtual device or plug in your Android device

rake newclear

In your REPL, do this for fun:

rmq.log_tree
find(Potion::View).log
# etc

If you haven't setup Android yet, read this first: Gant Laborde's post on Genymotion.

Contributing

  1. Create an issue in GitHub to make sure your PR will be accepted.
  2. Fork it
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Write tests for your changes
  5. Make your changes
  6. Document your changes in the docs folder
  7. Commit your changes (git commit -am 'Add some feature')
  8. Push to the branch (git push origin my-new-feature)
  9. Create new Pull Request