{"id":20677849,"url":"https://github.com/clivern/bull","last_synced_at":"2025-04-19T21:07:14.651Z","repository":{"id":86321515,"uuid":"138215660","full_name":"Clivern/Bull","owner":"Clivern","description":"📦Microservices Playground with Symfony 4.","archived":false,"fork":false,"pushed_at":"2023-12-15T14:47:08.000Z","size":189,"stargazers_count":5,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-12-15T15:57:03.544Z","etag":null,"topics":["elk-stack","fault-tolerance","microservices","queue","rabbitmq","rest","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Clivern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-06-21T19:55:56.000Z","updated_at":"2020-07-18T15:45:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"cdd767d8-3c8d-4275-9047-36c4f2903797","html_url":"https://github.com/Clivern/Bull","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2FBull","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2FBull/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2FBull/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2FBull/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clivern","download_url":"https://codeload.github.com/Clivern/Bull/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224969896,"owners_count":17400295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elk-stack","fault-tolerance","microservices","queue","rabbitmq","rest","symfony"],"created_at":"2024-11-16T21:17:19.530Z","updated_at":"2024-11-16T21:17:20.174Z","avatar_url":"https://github.com/Clivern.png","language":"PHP","readme":"# Bull\n📦 Microservices Playground with Symfony 4.\n\n*Current version: coming soon*\n\n[![Build Status](https://travis-ci.org/Clivern/Bull.svg?branch=master)](https://travis-ci.org/Clivern/Bull)\n\nInstallation\n------------\n\nIn order to run this app do the following:\n\n### 1-Minute Install\n\n- Get the application code and install php dependencies and node packages.\n```bash\ngit clone https://github.com/Clivern/Bull.git bull\ncd bull\ncomposer install\ncp .env.dist .env\n```\n\n- Open `.env` and insert your MySQL database credentials. Let's say it will be look like this:\n```yaml\nDATABASE_URL=mysql://root:root@127.0.0.1:3306/bull\n```\n\n- Run the following command to build database tables\n```bash\n# To Drop The Database (DEV Purposes)\nphp bin/console doctrine:database:drop --force\n\n# To Create The Database (DEV Purposes)\nphp bin/console doctrine:database:create\n\n# Generate Migrations Diff (Not Needed Since Latest with The Repo)\nphp bin/console doctrine:migrations:generate\n\n# To Update The Database Schema\nphp bin/console doctrine:schema:update --force\n```\n\n- Run the following command to seed our database with one user and default configs\n```bash\nphp bin/console doctrine:fixtures:load\n```\n\n- We are ready to run our application\n```bash\nphp -S 127.0.0.1:8000 -t public\n```\n\nOpen your browser and access the `http://127.0.0.1:8000`\n\n\nDeploy The Application\n----------------------\nIn order to run and deploy this application on production server, Please do the following during installation.\n\n- Check `check.php` page inside public dir by visiting `http://fqdn.com/check.php`\n\n- Delete `check.php` file.\n```bash\nrm ./public/check.php\n```\n\n- Install/Update your vendors and It is required to provide your database credentials.\n```bash\ncomposer install --no-dev --optimize-autoloader\n```\n\n- Clear your Symfony Cache\n```bash\nphp bin/console cache:clear --env=prod --no-debug --no-warmup\nphp bin/console cache:warmup --env=prod\n```\n\n- Build your database tables and do seeding.\n```bash\nphp bin/console doctrine:schema:update --force\n```\n\n- In case you work with LAMP Server, you will need to configure your apache virtual host.\n```\n\u003cVirtualHost *:80\u003e\n    ServerAdmin admin@bull.com\n    ServerName bull.com\n    ServerAlias www.bull.com\n    DocumentRoot /var/www/bull/public\n    ErrorLog ${APACHE_LOG_DIR}/error.log\n    CustomLog ${APACHE_LOG_DIR}/access.log combined\n        \u003cDirectory /var/www/bull/public\u003e\n            Options Indexes FollowSymLinks MultiViews\n            AllowOverride All\n            Order allow,deny\n            allow from all\n        \u003c/Directory\u003e\n\u003c/VirtualHost\u003e\n```\n\n- Please don't forgot to add the suitable folder permissions for example\n```bash\nsudo chown -R clivern:www-data bull\nsudo chown -R 775 bull\n```\n\n*For More Info*, Please [check symfony docs](https://symfony.com/doc/current/deployment.html)\n\n\nMisc\n----\n\n### Testing\n\nTo run test cases:\n```bash\nmake test\n```\n\nor if you want to run all checks and make sure all of them passed:\n```bash\nmake ci\n```\n\nTo fix code style issue, run the following command:\n\n```bash\nmake syntax-to-fix\nmake syntax-fix\n```\n\n### Changelog\n\nVersion 1.0.0:\n```\nComing Soon.\n```\n\n### Acknowledgements\n\n© 2018, Clivern. Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n\n**Bull** is authored and maintained by [@clivern](http://github.com/clivern).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclivern%2Fbull","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclivern%2Fbull","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclivern%2Fbull/lists"}