Development

HowToDevelopMultipleVersions (diff)

You must first sign up to be able to contribute.

Changes between Version 2 and Version 3 of HowToDevelopMultipleVersions

Show
Ignore:
Author:
synace (IP: 69.160.3.47)
Timestamp:
08/09/06 18:49:46 (11 years ago)
Comment:

yourproject path more obvious

Legend:

Unmodified
Added
Removed
Modified
  • HowToDevelopMultipleVersions

    v2 v3  
    7676Now, inside your working directory make a new directory called "project" 
    7777{{{ 
    78 mkdir /path/to/your/working_directory/project 
    79 cd /path/to/your/working_directory/project 
     78mkdir /path/to/your/working_directory/yourproject 
     79cd /path/to/your/working_directory/yourproject 
    8080}}} 
    8181Link the symfony shell script to a local file 'symfony', for easy access from within the project directory and make the symfony.sh executable. 
    9191symfony version @SYMFONY-VERSION@ 
    9292}}} 
    93 Initialize the project 
     93Create a folder and Initialize the project 
    9494{{{ 
     95mkdir /path/to 
    9596./symfony init-project yourproject 
    9697}}} 
    9798Create symlinks for the lib and data dirs. 
    9899{{{ 
    99 cd /path/to/your/working_directory/project/lib 
     100cd /path/to/your/working_directory/yourproject/lib 
    100101ln -s /path/to/your/working_directory/symfony/lib symfony 
    101102 
    102 cd /path/to/your/working_directory/project/data 
     103cd /path/to/your/working_directory/yourproject/data 
    103104ln -s /path/to/your/working_directory/symfony/data symfony 
    104105}}} 
    105106Make the log and cache directories writable 
    106107{{{ 
    107 chmod 0777 -R /path/to/your/working_directory/project/logs 
    108 chmod 0777 -R /path/to/your/working_directory/project/cache 
     108chmod 0777 -R /path/to/your/working_directory/yourproject/logs 
     109chmod 0777 -R /path/to/your/working_directory/yourproject/cache 
    109110}}} 
    110111Create your application 
    114115You now have a project and application running under your checked out version of symfony. 
    115116 
    116 Configure apache to use the /path/to/your/working_directory/project/web directory as the document root and open your browser to the page. 
     117Configure apache to use the /path/to/your/working_directory/yourproject/web directory as the document root and open your browser to the page.