Code Monkey home page Code Monkey logo

rune's Introduction

Rune

An opinionated install profile focused on developer happiness and a git-based workflow. Built and battle tested on Valkyrie.

Usage

To build the distribution atop the latest Drupal core, run:

drush make https://raw.githubusercontent.com/poetic/rune/master/makefiles/stubs/build.make.yml [platform_name]

To build for development (includes working copy of the profile):

drush make https://raw.githubusercontent.com/poetic/rune/master/makefiles/stubs/dev.make.yml [platform_name]

To re-build an existing platform installed using one of the above commands, run this from your platform root:

drush make profiles/rune/makefiles/stubs/local-dev.make.yml

This will rebuild Drupal core and contrib in an existing code-base without touching the Rune profile itself. This is useful primarily when developing an install profile.

Note: if you receive an error like "No core project specified. [error]" you may need a more up-to-date version of drush.

which drush

Go to the drush directory

git fetch
git checkout [appropriate branch name]

Commerce

To use Rune Commerce, first build the platform like normal via one of the two commands discussed in Usage

Once the platform is built, run:

drush make profiles/rune/makefiles/commerce/commerce-rune.make.yml

This will rebuild the Rune platform with a fully operational commerce foundation baked in.

Maintenance

The makefiles that define the various requirements for this installation profile are structured for easy readability and maintenance.

For dev builds, Drush Make will prefer the latest versions of contrib modules, except for those specifying pinned versions.

For production builds, we use a makefile with all versions locked down. To update this makefile, run the following command from the profile root:

drush make --no-build --no-core makefiles/profile.make.yml --lock=rune.make

Workflow suggestions

All modules in the make file are known to be exportable using uuid_features. There are many modules that are set to a specific commit or that may have patches applied in order to get this functionality working.

We recommend building sites with many small features over large all-encompassing ones. We have currated the concepts behind clean and maintainable features with our Scalable and Modular Architecture with Features philosphy.

rune's People

Contributors

reallukemartin avatar mattcoker avatar ergonlogic avatar warnerp18 avatar josephleon avatar chuongle avatar jakecraige avatar devekko avatar

Stargazers

Cody Dracars avatar  avatar  avatar yang2007chun avatar  avatar Angus H. avatar David Gurba avatar Shelby Rottschafer avatar Lakshminp avatar Matthew Hager avatar  avatar  avatar

Watchers

Matthew Hager avatar  avatar James Cloos avatar Shelby Rottschafer avatar  avatar  avatar  avatar  avatar

rune's Issues

Fork "Rune: Commerce"

The recent addition of Commerce adds more that 30 modules. This bloats rune's contrib modules by more that 20% (so far). I think keeping a slimmer base distribution is a better way to go, since relatively few projects require Commerce. A fork would be easy to maintain, since it'd really just require renaming a few files in the project root.

Image Styles Broken

ImageAPI Optimize and Rune Image Toolkit module breaks Drupal Image Styles. Need to remove the two modules or disable them on initial build

Error with features patch

features patched with features-defaultversion-2467705-1.patch.               [ok]
Unable to patch features with features-add_generate_button-401392-1.patch.   [error]
Generated PATCHES.txt file for features                                      [ok]

Metatag Version

The current dev release of metatag, that we are running on, is causing issues with migrations and clones on Aegir. Aegir shows incompatibility with versions inbetween platforms although they have the same 1.x-dev-dev versions.

Is there a reason we want to run off 1.x-dev-dev release or can we go ahead and run off stable release of metatag?

Error: rune environments feature module

PHP 5.3.10-1ubuntu3.19, drush version 5.10.0, Ubuntu 12.04.5 LTS

I'm using the latest rune (built locally and renamed to a .lock file to use on a clean aegir 2 build).

I can get the platform to verify without errors, but when I try to spin up a site on the new platform, I'm seeing the following error (screenshot: http://cl.ly/image/0u0O0M2S0604):

Drush command terminated abnormally due to an unrecoverable error. Error: syntax error, unexpected '[' in /var/aegir/platforms/rune20150829/profiles/rune/modules/rune_environments/rune_environments.module, line 16

which corresponds to the following line (file: https://raw.githubusercontent.com/poetic/rune/master/modules/rune_environments/rune_environments.module):

variable_set('environment_indicator_overwritten_name', environment_load($target_env['label']);

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.