Skip to content

Instantly share code, notes, and snippets.

@ftassi ftassi/gist:2556166
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

This comment has been minimized.

Copy link

commented Jun 27, 2012

ci piace

@p16

This comment has been minimized.

Copy link

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
@fallucch

This comment has been minimized.

Copy link

commented Aug 16, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.