This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name www.sample-magento.com; | |
return 301 $scheme://sample-magento.com$request_uri; | |
} | |
server { | |
listen 80; | |
server_name sample-magento.com; | |
root /path/to/magento; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# usage: ./modman-generator module-dir-name | |
cd $1 | |
echo "Generating magento modman file in $1" | |
rm -f modman | |
git ls-files | egrep -v '.svn|composer.json|modman|.gitignore|README|package.xml|.sass-cache|LICENSE.txt|readme.*' | awk -F'\t' '{print $1 " " $1}' >> modman |