Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshuaestes/sonata-skeleton
Skeleton that I use to start projects with
https://github.com/joshuaestes/sonata-skeleton
Last synced: 1 day ago
JSON representation
Skeleton that I use to start projects with
- Host: GitHub
- URL: https://github.com/joshuaestes/sonata-skeleton
- Owner: JoshuaEstes
- License: mit
- Created: 2014-03-24T18:00:08.000Z (almost 11 years ago)
- Default Branch: 2.3
- Last Pushed: 2014-03-24T19:00:07.000Z (almost 11 years ago)
- Last Synced: 2024-11-08T05:41:47.624Z (about 2 months ago)
- Language: PHP
- Size: 27.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sonata Standard Edition
=======================What's inside?
--------------Sonata Standard Edition comes pre-configured with the following bundles:
* Bundles from Symfony Standard distribution
* Sonata Admin Bundles: Admin and Doctrine ORM Admin
* Sonata Ecommerce Bundles: Payment, Customer, Invoice, Order and Product
* Sonata Foundation Bundles: Core, Notification, Formatter, Intl, Cache, Seo and Easy Extends
* Sonata Feature Bundles: Page, Media, News, User, Block, Timeline
* Api Bundles: FOSRestBundle, BazingaHateoasBundle, NelmioApiDocBundle and JMSSerializerBundleInstallation
------------Get composer:
curl -s http://getcomposer.org/installer | php
Run the following command for the 2.3 branch:
php composer.phar create-project sonata-project/sandbox:2.3
Or to get the 2.3 develop branch:
php composer.phar create-project sonata-project/sandbox:2.3-develop
The installation process used Incenteev's ParameterHandler to handle parameters.yml configuration. With the current
installation, it is possible to use environment variables to configure this file:DATABASE_NAME=sonata DATABASE_USER=root DATABASE_PASSWORD="" php composer.phar create-project sonata-project/sandbox:dev-2.3-develop
Run
---If you are running PHP5.4, you can use the built in server to start the demo:
php -S localhost:9090 -t web/app
Now open your browser and go to http://localhost:9090/
Tests
-----### Functional testing
To run the Behat tests, copy the default configuration file and adjust the base_url to your needs
# behat.yml
imports:
- behat.yml.dist# Overwrite only the config you want to change here
You can now run the tests suite using the following command
php bin/behat
To get more informations about Behat, feel free to check `the official documentation
`_.### Unit testing
To run the Sonata test suites, you can run the command:
bin/qa_client_ci.sh
Enjoy!