Skip to content

CLI helper for creating symlinks for Freistilbox Boxfile

Notifications You must be signed in to change notification settings

derhasi/boxfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boxfile

This is a tool for applying Boxfile specifics to your project. A Boxfile is a configuration file for a Freistilbox site.

Installation

The tool can be installed via Composer.

composer require derhasi/boxfile

Command

Creating symlinks for environment specific paths.

./vendor/bin/boxfile symlink [env] --boxfile=Boxfile --docroot=docroot

Example boxfile

version: 1.0
shared_folders:
  - sites/default/files
env_specific_files:
  .htaccess:
    local: .htaccess.local
    staging: .htaccess.stage
  sites/default/settings.php:
    local: settings.local.php
    staging: settings.stage.php

With ./vendor/bin/boxfile local symlinks for the given example will be applied.

About

CLI helper for creating symlinks for Freistilbox Boxfile

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages