Morphodo.com
  • Home
  • Contact
  • Imprint
  • Partner
  • morphing ideas into solutions - TYPO3, FLOW3,
    Mobile Apps ...

  • FLOW3 Tutorials
  • FLOW3 Testing
  • Setup your first TYPO3v5 Phoenix installation

    Requirements

    • PHP 5.3.3 or higher
    • pdo_mysql
    • Apache 2
      • mod_rewrite

    Setup the database

    CREATE DATABASE f3_phoenix DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
    grant usage on f3_phoenix* to f3_phoenix@localhost identified by 'PASSWORD';
    grant all privileges on f3_phoenix.* to f3_phoenix@localhost ;
    

    Apache configuration

    <VirtualHost *:80>
            ServerName phoenix.flow3
            ServerAdmin webmaster@localhost
    
            SetEnv FLOW3_CONTEXT Development
    
            DocumentRoot /var/www/phoenix/Web
            <Directory /var/www/phoenix/Web>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>
    
            ErrorLog ${APACHE_LOG_DIR}/error.log
            LogLevel warn
            CustomLog ${APACHE_LOG_DIR}/access.log combined
    </VirtualHost>
    

    Update your hosts file

    # The location of the hosts file depends on the operating system
    # if you'r running Unix "/etc/hosts" on Windows check "C:\Windows\System32\drivers\etc\hosts"
    127.0.1.1       phoenix.flow3
    

    Get the latest development state

    mkdir /var/www/phoenix
    cd /var/www/phoenix
    git clone --recursive git://git.typo3.org/TYPO3v5/Distributions/Base.git .
    

    Configure the database

    Rename the file "Configuration/Settings.yaml.example" into "Settings.yaml" and add the configuration below.

    # Be sure that only simple whitespaces are used in Settings.yaml tabs will break the configuration!
    TYPO3:
      FLOW3:
        persistence:
          backendOptions:
            driver: 'pdo_mysql'
            dbname: 'f3_phoenix'
            user: 'f3_phoenix'
            password: 'PASSWORD'
            host: '127.0.0.1'
            path: '127.0.0.1'
            port: 3306
    
    
    

    Set the file permissions and create basic database structure

    sudo ./Packages/Framework/TYPO3/FLOW3/Scripts/setfilepermissions.sh USER www-data www-data
    
    ./flow3_dev typo3.flow3:doctrine:create
    
    
    

    Import Phoenix demo

    ./flow3_dev typo3.typo3:site:import < Packages/Sites/TYPO3/PhoenixDemoTypo3Org/Resources/Private/Content/Sites.xml
    

    Your finish!

    You can now visit phoenix.flow3 to see the latest development state of Phoenix :)

     

    blog comments powered by Disqus