1.0releasedSymlink Manifest

Simplify dev/live server workflow.

Clone URLhttps://github.com/lewiswharf/symlink_manifest.git

Add as a submodulegit submodule add https://github.com/lewiswharf/symlink_manifest.git extensions/symlink_manifest --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.02.6.12.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.6.102.6.11
NoNo0.41.0NoNoNoNoNoNoNoNoNoNoNoNoNoNo. Soon?

Readme

Symlink Manifest

The Symlink Manifest extension creates manifest.dev and manifest.live folders, and creates a symbolic link. Thanks to Rowan Lewis for the idea.

Install

  1. Upload the 'symlink_manifest' folder in this archive to your Symphony 'extensions' folder.
  2. Prepare
    • Fresh install on dev
      1. Ensure manifest folder exists.
    • To live
      1. Upload manifest.live and manifest.dev folders to live server. Rename manifest.live folder to manifest.
      2. On live server, uninstall extension by selecting the "Symlink Manifest" item under Extensions, choose Uninstall from the with-selected menu, then click Apply.
    • To dev
      1. Download manifest.live and manifest.dev folders to dev server. Rename manifest.dev folder to manifest.
      2. On dev server, uninstall extension by selecting the "Symlink Manifest" item under Extensions, choose Uninstall from the with-selected menu, then click Apply.
  3. Enable extension by selecting the "Symlink Manifest" item under Extensions, choose Enable from the with-selected menu, then click Apply.

  4. After installing for the first time, configure manifest.live/config.php to reflect configuration (i.e. database details) for the live server.

NOTE: Fresh install will copy manifest folder to manifest.dev and manifest.live folders, with a symbolic link to manifest.dev folder.

Uninstall

  1. Uninstall extension by selecting the "Symlink Manifest" item under Extensions, choose Uninstall from the with-selected menu, then click Apply.

NOTE: Uninstalling extension will leave manifest.dev and manifest.live folders, and delete symbolic link.

History

  • 0.4 Add symlink as fall back to exec for better windows support.
  • 0.3 Fixed bug where writing to config.php caused problem. Using exec() in place of symlink().
  • 0.2 Fixed symlink delete bug (beta)
  • 0.1 Initial version (beta)

Version history

Requires Symphony 2.3.x

Symphony 2.2 to 2.2.5