{"id":23521259,"url":"https://github.com/vaaralav/m2-aliases","last_synced_at":"2025-05-14T03:18:28.029Z","repository":{"id":84142906,"uuid":"107510705","full_name":"vaaralav/m2-aliases","owner":"vaaralav","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-19T07:13:39.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-25T17:12:27.188Z","etag":null,"topics":["aliases","bash","magento2","pestle"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaaralav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-19T07:09:06.000Z","updated_at":"2018-03-14T12:45:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"b89ec354-2116-473b-9065-401628b1da1d","html_url":"https://github.com/vaaralav/m2-aliases","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaralav%2Fm2-aliases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaralav%2Fm2-aliases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaralav%2Fm2-aliases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaralav%2Fm2-aliases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaaralav","download_url":"https://codeload.github.com/vaaralav/m2-aliases/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239212556,"owners_count":19600830,"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":["aliases","bash","magento2","pestle"],"created_at":"2024-12-25T17:11:29.869Z","updated_at":"2025-02-16T23:43:10.625Z","avatar_url":"https://github.com/vaaralav.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# m2-aliases\nSome shell aliases to make Magento 2 development a little more comfortable.\n\n```shell\nalias m2permissions='echo \"Setting M2 permissions for magento installation at \\\"`pwd`\\\"...\" \u0026\u0026 sudo find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \\; \u0026\u0026 sudo find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} \\; \u0026\u0026 sudo chown -R :www-data . \u0026\u0026 chmod u+x bin/magento'\nalias m2upgrade='php bin/magento setup:upgrade'\nalias m2compile='php bin/magento setup:di:compile'\nalias m2reindex='php bin/magento indexer:reindex'\nalias m2='php bin/magento'\n```\n\n## Examples\n### Upgrading a module or getting started with some project\n\n```shell\nm2upgrade \u0026\u0026 m2compile \u0026\u0026 m2permissions\n```\n\n### Clear cache\n\n```shell\nm2 cache:clean\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaaralav%2Fm2-aliases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaaralav%2Fm2-aliases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaaralav%2Fm2-aliases/lists"}