-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from tvlooy/readme
Add readme
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Hexagonal Symfony | ||
================= | ||
|
||
Welcome to the Hexagonal Symfony. This is a sandbox for experimenting with Cockburn's hexagonal ideas with Symfony2. | ||
|
||
Note: this is work in progress, your PR is welcome! | ||
|
||
Installation | ||
------------ | ||
|
||
Download [composer](http://getcomposer.org/), add it to your path, go to the root of the project and run: | ||
|
||
composer.phar install | ||
|
||
This installs the project dependencies like Symfony2. Next create a database, a database schema and load the fixtures. | ||
|
||
app/console doctrine:database:create | ||
app/console doctrine:schema:create | ||
app/console doctrine:fixtures:load | ||
|
||
The only fixture that is loaded is a Project Manager with login "everzet" and password "qwerty". | ||
|
||
For the ease of use, this application can be used with Vagrant with: | ||
|
||
vagrant up | ||
|
||
Features | ||
-------- | ||
|
||
The core of this application is a project management system. The features are "documented" in the tests. | ||
You can run the tests with behat: | ||
|
||
bin/behat | ||
|
||
There are also phpspec tests. Run them with: | ||
|
||
bin/phpspec --format=pretty | ||
|
||
See also | ||
-------- | ||
|
||
- [Doucheswag](https://github.com/igorw/doucheswag/) a silex based hexagonal application. | ||
- [Cockburn's hexagonal](http://alistair.cockburn.us/Hexagonal+architecture) explains the architecture. | ||
|