- Create a new project:
composer create-project matthiasnoback/high-quality-bundles-project [project-directory] dev-master
N.B. When asked to keep the source control (Git) files, choose "Yes".
Be sure to add the version requirement
dev-masterwhen installing this project (or checkout the
masterbranch if you clone it). During the workshop we will create a separate branch for the various changes that we make.
When asked, supply the requested information concerning the MySQL database (make sure you run a MySQL server).
Do whatever is needed to get your file permissions right (see also Setting up Permissions).
Then see if everything works:
- Create the database and the database schema:
app/console doctrine:database:create app/console doctrine:schema:create
- Configure the web server to serve the
/webdirectory of this project.
If you run PHP 5.4 or higher, you don't need to configure the web server for this project, because you can use the Symfony command:
Check if everything works. When you request
http://127.0.0.1:8000/in the browser you should see a list of existing users.