Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Get a working local copy: instructions
Build up a working local copy
Follow this instructions to grab a copy of symfonybricks.com and have a full working local copy.
1. create the folder containing the prjoject:
mkdir SymfonyBricksClonedFromGithub (choose the folder name) cd SymfonyBricksClonedFromGithub
2. clone the project
git clone https://github.com/inmarelibero/SymfonyBricks.git .
3. (optionally) edit permissions:
chmod -R 777 .
4. install Composer
follow this guide to have
composer.phar present in your project root
5. install Symfony vendors
php composer.phar update
this command will install Symfony vendors through composer.json
copy (don't rename) the file
app/config/parameters.yml-dist into the file
change the settings (eg: mysql connection datas) to match your local machine settings
7. setup the database
if you don't have one yet, create a mysql database on your local machine, called eg.
change the connection parameters in the file
app/config/parameters.ini (mark this file as "assume not changed" is a good idea if you will commit something)
update database schema:
app/console doctrine:schema:update --force
as now there are no fixtures, but soon a sql dump containing example database content will be available
8. configure your web server
For example Apache: configure a virtual host to point to the
/web directory of the cloned project
9. that's it!