{"id":15076632,"url":"https://github.com/miguelsimoni/symfony2-refresh-env","last_synced_at":"2026-01-03T05:11:51.049Z","repository":{"id":77626660,"uuid":"98217959","full_name":"miguelsimoni/symfony2-refresh-env","owner":"miguelsimoni","description":"Refresh environment script for Symfony 2 (2.3)","archived":false,"fork":false,"pushed_at":"2017-07-24T18:07:08.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T00:11:18.848Z","etag":null,"topics":["bash","bash-script","bashshell","cache","shell","shell-script","shell-scripts","shellscript","symfony","symfony-console","symfony2"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/miguelsimoni.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-07-24T17:42:36.000Z","updated_at":"2017-07-24T18:11:48.000Z","dependencies_parsed_at":"2023-05-31T05:30:17.223Z","dependency_job_id":null,"html_url":"https://github.com/miguelsimoni/symfony2-refresh-env","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"f7a747515019b65934714faac04668bccda1e205"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelsimoni%2Fsymfony2-refresh-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelsimoni%2Fsymfony2-refresh-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelsimoni%2Fsymfony2-refresh-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelsimoni%2Fsymfony2-refresh-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miguelsimoni","download_url":"https://codeload.github.com/miguelsimoni/symfony2-refresh-env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864822,"owners_count":20360360,"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":["bash","bash-script","bashshell","cache","shell","shell-script","shell-scripts","shellscript","symfony","symfony-console","symfony2"],"created_at":"2024-09-25T04:00:41.868Z","updated_at":"2026-01-03T05:11:51.014Z","avatar_url":"https://github.com/miguelsimoni.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Refresh environment script for Symfony 2(.3)\n\nI use this script on Symfony 2.3 projects. It should work for other versions...\n\n## What for is this script useful?\n\n- Delete `app/cache/` directory (since cache:clear doesn't work well for me)\n- Execute `app/console cache:clear --env=?`\n- Execute `app/console assets:install --env=?`\n- Execute `app/console assetic:dump --env=?`\n\n? on the specified environment (default: `dev`)\n\n## Setup\n\n- Copy `refresh-env.sh` file to the application directory (e.g: `/var/www/symfonyapp/`)\n- Then execute:\n```bash\n$ chmod +x refresh-env.sh\n```\n\n## Usage\n\n- Refreshing development environment:\n```bash\n$ ./refresh-env.sh\n```\n\nSince `dev` is the default environment it doesn't require parameters.\n\n- Refreshing production environment:\n```bash\n$ ./refresh-env.sh prod\n```\n\n## Refreshing only twig cache\n\nThe `refresh-twig-cache.sh` script helps to clear just the twig cache and rebuild it for the pointed environment.\n\nPrevious instructions works fine for this script too.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelsimoni%2Fsymfony2-refresh-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiguelsimoni%2Fsymfony2-refresh-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelsimoni%2Fsymfony2-refresh-env/lists"}