This is a demo project for getting start with symfony 2.
NO apache2 required, we will used the internal PHP native web server provided by sf2. To start the project, we need:
- install vendors via composer
- install MySQL on Mac
- config database for current project
- start web server and test
composer install
brew install mysql
Updated the password of root
user, if you are not able to login with root
$(brew --prefix mysql)/bin/mysqladmin -u root password my_new_password
cd app/config/
cp parameters.yml.dist parameters.yml
Enter the correct database config data in parameters.yml
php app/console doctrine:database:create
php app/console doctrine:schema:create
php app/console doctrine:fixtures:load
login data: vikbert@pass
php app/console server:run