This is little CLI script for creating symlinks from configuration
I'm using it accross different projects when I have to often create few different symlinks just to get some things to work
- Download link-assets.php script
- Place it somewhere in your project (for. ex. inside "scripts" or "bin" folder)
- Change $baseAssetsPath (at line 5) and $pathsMapping (at line 10) to meet your needs
- Give it "execution" permission using command:
sudo chmod +x ./bin/link-assets.php
- Run it:
./bin/link-assets.php
To run this you need to have php5-cli installed (php available in terminal).