{"id":25269901,"url":"https://github.com/javascript-pro/quickstart-vagrant","last_synced_at":"2025-09-12T13:44:19.907Z","repository":{"id":89534273,"uuid":"94735930","full_name":"javascript-pro/quickstart-vagrant","owner":"javascript-pro","description":"Vagrant box ready for Magento 1","archived":false,"fork":false,"pushed_at":"2017-07-21T04:22:21.000Z","size":4844,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T11:37:25.580Z","etag":null,"topics":[],"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/javascript-pro.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-06-19T04:17:34.000Z","updated_at":"2019-09-26T23:07:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"08c10707-4d1d-486a-a19b-063722ba311a","html_url":"https://github.com/javascript-pro/quickstart-vagrant","commit_stats":null,"previous_names":["javascript-pro/quickstart-vagrant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Fquickstart-vagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Fquickstart-vagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Fquickstart-vagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Fquickstart-vagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javascript-pro","download_url":"https://codeload.github.com/javascript-pro/quickstart-vagrant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441060,"owners_count":20939239,"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":[],"created_at":"2025-02-12T11:27:56.110Z","updated_at":"2025-04-06T06:15:14.427Z","avatar_url":"https://github.com/javascript-pro.png","language":"Shell","readme":"\n## Quickstart Vagrant Development Environment for Magento\n\n### Get Ready ...\n\nDesigned to help you get up and running developing a Magento store on a Vagrant Virtual Machine. You need a machine provisioned with the prerequisite software [Vagrant 1.8+](https://www.vagrantup.com.html), [VirtualBox](https://www.virtualbox.org) and [Git](https://git-scm.com), so our first job is to clone this repo locally.\n\n1. If you don't already have one, create a working directory for your Vagrant projects. As you work on various projects, you will be creating new VM's for each so we'll create a directory to keep them all in. Choose whichever name and location suits you, or follow this instructions to create, change the permissions and switch to a directory called `/vagrant` on root level.\n\n    At this point we'll also make sure the Vagrant hostmanager is installed so that Vagrant can handle our host names and we don't have to mess around with our host file.\n\n    Open terminal and run:\n\n```bash\nsudo mkdir /vagrant\nsudo chown -R $USER:$USER /vagrant\ncd /vagrant\nvagrant plugin install vagrant-hostmanager\n```\n\n2. Decide on a project name. This is going to be both our project director name and make part of the url we will connect to the box on. Make your project name url compatible. Clone this magento-vagrant repository into a new directory by changing `quickstart-vagrant-magento` to a name of your choice and run:\n```bash\ncd /vagrant\ngit clone git@bitbucket.org:aligent/quickstart-vagrant-magento.git quickstart-vagrant-magento\n```\n\n3. We don't want to push to this repository, so we'll remove the git tracking and initialise a new repo.\n\n```bash\ncd quickstart-vagrant-magento\nsudo rm -r .git\nsudo rm .gitignore\ngit init\ngit add .\ngit commit -m 'Initial commit'\n```\n\n4. __Optional.__ You might want to setup a repo on BitBucket for your project which you can do on [Aligent's Frontend Sandbox project](https://bitbucket.org/account/user/aligent/projects/FS). If so, once you have created your empty repo, set the origin and push the code by running:\n```bash\ngit remote add origin \u003crepo-address\u003e\ngit push origin master\n```\n\n4. Create a new project in PhpStorm by selecting File \u003e New Project, selecting the magento-vagrant folder as the Location. You might get a warning telling you that the existing directory is not empty and asking if you'd like to create from existing source. Select Yes and Open in in a new window.\n\n5. The most important file in this project is called Vagrantfile. Open it up and take a look.\n\n    Edit the PROJECT_NAME variable to be the same as your `quickstart-vagrant-magento`. This is important as it will also become part of the url you use to access your magento installation.\n\n### Go ...\nFrom your project directory run:\n\n```bash\nsudo vagrant up\n```\nThis simple command will setup everything for you. But if you're running it for the first time, then Vagrant's built in hostmanager is going to try to add your project's url to your `/etc/hosts` file. For this it will need you to enter your sudo password, so don't grab a coffee yet.\n\n  Once your virtual box is up and running, the provisioning will get underway. Now is the time to grab a coffee.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavascript-pro%2Fquickstart-vagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavascript-pro%2Fquickstart-vagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavascript-pro%2Fquickstart-vagrant/lists"}