Awesome
Getting started
- 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".
Project branches/versions
Be sure to add the version requirement
dev-master
when installing this project (or checkout themaster
branch 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:
app/console
- Create the database and the database schema:
app/console doctrine:database:create
app/console doctrine:schema:create
- Configure the web server to serve the
/web
directory 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:
app/console server:run
Check if everything works. When you request
http://127.0.0.1:8000/
in the browser you should see a list of existing users.