2017 © Pedro Peláez
 

library symfony2-jobeet

Jobeet Tutorial with Symfony2(.x)

image

isidromerayo/symfony2-jobeet

Jobeet Tutorial with Symfony2(.x)

  • Saturday, November 30, 2013
  • by isidromerayo
  • Repository
  • 3 Watchers
  • 14 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Jobeet Tutorial with Symfony2

Jobeet is a great tutorial wrote by the Symfony team to help you learn how to use the framework by building a fully functional job board website. It was wrote for Symfony 1.x version and now it’s time for a remake using the new Symfony2 framework., (*1)

In the following weeks I will begin to post the parts of making the Jobeet website using Symfony2, so it will help beginners to learn and understand how the framework works. I will try to follow the original Jobeet tutorial, but I will also make some changes from time to time to reflect my personal developing style., (*2)

1) Installing the Standard Edition

When it comes to installing the Symfony Standard Edition, you have the following options., (*3)

As Symfony uses Composer to manage its dependencies, the recommended way to create a new project is to use it., (*4)

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:, (*5)

curl -s http://getcomposer.org/installer | php

Then, use the create-project command to generate a new Symfony application:, (*6)

php composer.phar create-project symfony/framework-standard-edition path/to/install

Composer will install Symfony and all its dependencies under the path/to/install directory., (*7)

Download an Archive File

To quickly test Symfony, you can also download an archive of the Standard Edition and unpack it somewhere under your web server root directory., (*8)

If you downloaded an archive "without vendors", you also need to install all the necessary dependencies. Download composer (see above) and run the following command:, (*9)

php composer.phar install

2) Checking your System Configuration

Before starting coding, make sure that your local system is properly configured for Symfony., (*10)

Execute the check.php script from the command line:, (*11)

php app/check.php

Access the config.php script from a browser:, (*12)

http://localhost/path/to/symfony/app/web/config.php

If you get any warnings or recommendations, fix them before moving on., (*13)

3) Tutorial

Thanks to Dragos Holban (http://www.ens.ro/) to create a tutorial., (*14)

For Symfony before 2.3 : http://www.ens.ro/2012/03/21/jobeet-tutorial-with-symfony2/, (*15)

For Symfony 2.3 : http://www.intelligentbee.com/blog/tag/symfony2-jobeet/, (*16)

You modify the connection parameters into parameters.yml, (*17)

parameters:
    database_driver:   pdo_mysql
    database_host:     localhost
    database_port:     ~
    database_name:     jobeet
    database_user:     demo
    database_password: demo

    mailer_transport:  smtp
    mailer_host:       localhost
    mailer_user:       ~
    mailer_password:   ~

    locale:            en
    secret:            N8Wvoek6KPwEI6onI692/.srbk06aZrb3pzuu/6

You can populate create database and populate using the shell script, (*18)

$ bin/prepare_enviroment_test.sh 

Note: I don't have execute permissions use, (*19)

$ sh bin/prepare_enviroment_test.sh 

Install all-in-one, (*20)

$ curl -s https://raw.github.com/gist/3800877/d5114b1f962789552a27863bfa332a8f194b7532/all-in-one-symfony2-jobeet.sh | sh, (*21)

References

The Versions