Skip to content

Instantly share code, notes, and snippets.

@ftassi
Created Apr 30, 2012
Embed
What would you like to do?
#!/bin/bash
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://1165430`
mkdir -p /Volumes/ramdisk/symfony/logs
mkdir -p /Volumes/ramdisk/symfony/cache
sudo chmod +a "ftassi allow delete,write,append,file_inherit,directory_inherit" /Volumes/ramdisk/symfony/cache /Volumes/ramdisk/symfony/logs
mkdir -p /Volumes/ramdisk/symfony/cache/annotations
mkdir -p /Volumes/ramdisk/symfony/cache/doctrine/orm/Proxies/
chmod -R 777 /Volumes/ramdisk/symfony/cache
@erivello
Copy link

erivello commented Jun 27, 2012

ci piace

Loading

@p16
Copy link

p16 commented Aug 8, 2012

To complete the configuration, you will need to add this parameter to your parameters_test.ini or config_test.yml

kernel.cache_dir = /Volumes/ramdisk/symfony/cache
kernel.logs_dir = /Volumes/ramdisk/symfony/logs

Loading

@fallucch
Copy link

fallucch commented Aug 16, 2014

Mi sembra abbastanza inutile eseguire "chmod +a" e poi eseguire "chmod -R 777" della stessa cartella... Che senso ha?

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment