Coder Social home page Coder Social logo

symfony2-jobeet's Introduction

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.

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.

  1. Installing the Standard Edition

When it comes to installing the Symfony Standard Edition, you have the following options.

Use Composer (recommended)

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

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

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

Then, use the create-project command to generate a new Symfony application:

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.

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.

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:

php composer.phar install
  1. Checking your System Configuration

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

Execute the check.php script from the command line:

php app/check.php

Access the config.php script from a browser:

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

If you get any warnings or recommendations, fix them before moving on.

  1. Tutorial

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

For Symfony before 2.3 : http://www.ens.ro/2012/03/21/jobeet-tutorial-with-symfony2/

For Symfony 2.3 : http://www.intelligentbee.com/blog/tag/symfony2-jobeet/

You modify the connection parameters into parameters.yml

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

$ bin/prepare_enviroment_test.sh 

Note: I don't have execute permissions use

$ sh bin/prepare_enviroment_test.sh 

Install all-in-one

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

References

symfony2-jobeet's People

Contributors

fabpot avatar seldaek avatar brikou avatar tobion avatar stealth35 avatar stof avatar kriswallsmith avatar schmittjoh avatar weaverryan avatar vicb avatar havvg avatar isidromerayo avatar gajdaw avatar lsmith77 avatar jalliot avatar jmfontaine avatar arjona avatar mridgway avatar hollodk avatar snc avatar phreaknerd avatar trompette avatar ajessu avatar meonkeys avatar lenar avatar winzou avatar denderello avatar cordoval avatar igorw avatar craue avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.