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.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | 0.4 | 1.0 | No | No | No | No | No | No | No | No | No | No | No | No | No | No. 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
- Upload the 'symlink_manifest' folder in this archive to your Symphony 'extensions' folder.
- Prepare
- Fresh install on dev
- Ensure
manifest
folder exists.
- Ensure
- To live
- Upload
manifest.live
andmanifest.dev
folders to live server. Renamemanifest.live
folder tomanifest
. - On live server, uninstall extension by selecting the "Symlink Manifest" item under Extensions, choose Uninstall from the with-selected menu, then click Apply.
- Upload
- To dev
- Download
manifest.live
andmanifest.dev
folders to dev server. Renamemanifest.dev
folder tomanifest
. - On dev server, uninstall extension by selecting the "Symlink Manifest" item under Extensions, choose Uninstall from the with-selected menu, then click Apply.
- Download
- Fresh install on dev
Enable extension by selecting the "Symlink Manifest" item under Extensions, choose Enable from the with-selected menu, then click Apply.
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
- 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. Usingexec()
in place ofsymlink()
. - 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