Stars: 269
Forks: 204
Pull Requests: 1053
Issues: 242
Watchers: 46
Last Updated: 2022-07-27 21:03:25
[Abandoned] Sonata Project's sandbox
License: MIT License
Languages: Shell, Makefile, PHP, Gherkin, CSS, JavaScript, Dockerfile, Batchfile, Twig
There is no active support on it.
Feel free to ask if you want to help to keep this project up to date.
Sonata Sandbox comes pre-configured with the following bundles:
Curl:
curl -L github https://github.com/sonata-project/sandbox-build/archive/master.tar.gz | tar xzv
cd sandbox
Git:
git clone https://github.com/sonata-project/sandbox.git
cd sandbox
git checkout master
cp .env .env.local
.env.local
to configure own environmentvendor/bin/phing
sudo nano /etc/hosts
and add this line 192.168.33.99 sonata.local
If you are running PHP 7.2 or above, you can use symfony to start the demo:
symfony server:start --port=9090
Now open your browser and go to http://localhost:9090/
To run the Behat tests, copy the default configuration file and adjust the base_url to your needs
cp behat.yml.dist behat.yml
behat.yml
You can now run the tests suite by using the following command:
bin/qa_behat.sh
To get more informations about Behat, feel free to check the official documentation.
To run the sandbox test suites, you can run the command:
vendor/bin/simple-phpunit
You can also run the whole sonata-project bundles test suites by using the following command:
bin/qa_client_ci.sh
Enjoy!