Skip to content

SmellyFish/symfony1-askeet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony 1 Askeet

Vagrant set up to be used with the Symfony 1 Askeet tutorial.

#Vagrant

Prerequisites: Install Virtual Box and Vagrant

Setup

  1. Add this entry to your hosts file (sudo vi /etc/hosts;): 127.0.0.1 askeet.local

  2. Clone this git repo to your local computer

     $ git clone git@github.com:SmellyFish/symfony1-askeet.git pardot-askeet
    
  3. cd into the cloned repo directory

     $ cd pardot-askeet
    
  4. Bring the Vagrant box up

     $ vagrant up --provider virtualbox
    
  5. Log in to the guest machine

     $ vagrant ssh
    
  6. sudo vi /usr/share/pear/data/symfony/config/php.yml

  7. remove the magic_quotes_runtime directive

  8. remove the magic_quotes_gpc directive

  9. remove the register_globals directive

  10. sudo vi /usr/share/pear/symfony/cache/sfFileCache.class.php - comment out set_magic_quotes_runtime(0); on line 484

  11. sudo vi /usr/share/pear/symfony/symfony.php - change ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : ''); to ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : null); on line 132 (changed empty string to null there at the end)

  12. Navigate to the root of the askeet project

     $ cd /var/www/askeet
    
  13. Begin the askeet tutorial starting with initializing the Symfony project ( Symfony has already been installed for you)

Notes

  • The project is accessible by browser at http://askeet.local:8080/index.php
  • The server is provisioned with Symfony 1.0.22
  • Host machine - the actual computer you're using. This machine is used to run Git commands, Vagrant commands, boot up the guest machine, etc.
  • Guest machine - the virtual server spun up by the host machine via Vagrant. To SSH into this box, run $ vagrant ssh from the pardot-askeet directory on the host machine.
  • Root password is root
  • MySQL credentials are root, root
  • Does this work with VMware? No idea, haven't tried.
  • Does this work on Windows? No idea, haven't tried.
  • Apache error log is located at /var/log/httpd/master_error.log

Features

Puppet

We use Puppet for provisioning; here's our main manifest file.

Vagrant

Vagrantfile describes the type of machine required for the project and is located here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published