drupalprojects / dslm Goto Github PK
View Code? Open in Web Editor NEWMirror of drupal.org provided by hubdrop.io
Home Page: http://drupal.org/project/dslm
Mirror of drupal.org provided by hubdrop.io
Home Page: http://drupal.org/project/dslm
DSLM - Drupal Symlink Manager ============================= DSLM is a set of Drush commands for managing symlinking Drupal sites back to a central set of Drupal cores and installation profiles. Dependencies ============ - Drush: http://drupal.org/project/drush Configuration and Installation ============================== The first thing you'll want to do is set up your DSLM base folder. The DSLM base folder must contain, at the very least, a "cores" directory which contains direct checkouts of drupal core. You may also add a "profiles" directory to hold any shared installation profiles you might want to use. Profiles and Cores must be suffixed with a version number, like this: -- dslm_base -- cores -- drupal-6.18 -- drupal-6.20 -- drupal-7.12 -- profiles -- myInstallProfile-6.x-1.0 -- myInstallProfile-6.x-1.1 -- myInstallProfile-7.x-1.0 -- myInstallProfile-7.x-1.1 -- myInstallProfile.profile -- modules -- themes -- libraries Once your base is set up as described above, you'll need to pass it to drush dslm in order to run commands. There are three ways to set the location of your base. The base can be set using any of the options below. It will first look for the cli switch, then in your drushrc.php and finally for an enviro var. - The cli switch --dslm-base=/path/to/dslm_base - The drushrc.php file $options['dslm_base'] = /path/to/dslm_base; - The DSLM_BASE system environment variable DSLM Commands ============= drush dslm-new [site-directory] [core] Creates a new site within the directory of your choice using the Drupal core-version of your choice. If you pass the --latest flag, the latest core will automatically be chosen. If you do not specify a Drupal core-version, you will be prompted for a choice. (example usage: "drush dslm-new newSite drupal-7.12") drush dslm-cores Returns a listing of available DSLM cores. --format compatible drush dslm-profiles Returns a listing of available DSLM profiles. --format compatible <<< Execute the following commands within a site set up with DSLM >>> drush dslm-info Returns the current core and any managed profiles symlinked to the site of your cwd. --format compatible drush dslm-switch-core [core]-[version] Switches the core symlinks within your cwd's site, to a different version of Drupal core. If you do not specify a core, an interactive prompt will ask. (example usage: "drush dslm-switch-core drupal-7.15") drush dslm-add-profile [profile name]-[profile version] Creates a symlink within the 'profiles' directory to a DSLM managed installation profile. If you do not specify a profile name and/or version, you will be prompted for a choice. If the option "--upgrade" is passed, DSLM will remove the already symlinked profile and add your new specified (or prompted) version. (example usage: "drush dslm-add-profile myInstallProfile-2.0 --upgrade") drush dslm-remove-profile [profile name] Removes a managed profile.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.