Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Vagrant section to MAMP/WAMP/VVV #148

Merged
merged 19 commits into from
Oct 4, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clarification on commands
  • Loading branch information
rclations committed Aug 10, 2016
commit 018efaddd46cfe4f0fbc5fa74358c70345bde1dc
6 changes: 2 additions & 4 deletions staffing/onboarding/vvv-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ Variable VVV (a.k.a. VV) provides some handy tools for building sites using VVV.
## Increase the Server Memory on Your Vagrant Box

- Use the command line to navigate to the root directory of your Vagrant box (where your Vagrantfile is located).
- Paste the following command into your terminal and then type Control-D.
- Paste the following command into your terminal, hit Enter, and then type Control-D.

```
cat > Customfile
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 4
end

```

- That created a new file, `Customfile` which increases the memory limit on your Vagrant box, as [recommended in the VVV documentation](https://github.com/Varying-Vagrant-Vagrants/VVV/wiki/Customising-your-Vagrant's-attributes-and-parameters).
Expand All @@ -35,7 +34,7 @@ end

One useful feature of VV is that it allows you to create "blueprints" for site configurations. Below, we'll setup a basic blueprint for Largo sites.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will we need to create new blueprints for each of the Largo umbrellas?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe so - the general vv create command will walk through site setup options, where you can specify a mysql database and external repo to use for wp-content, which I think is probably the way to go.

We'll need to modify our bitbucket repo a bit so things match up better, but that should be about it.


- Paste the following command into your terminal and then type Control-D.
- Paste the following command into your terminal, hit Enter, and then type Control-D.

```
cat > vv-blueprints.json
Expand All @@ -55,7 +54,6 @@ cat > vv-blueprints.json
]
}
}

```

- Alternatively, if you'd like to learn more about VV Blueprints and how they work, you can run `vv --blueprint-init` from the vagrant folder in your terminal to create a sample blueprint named `vv-blueprints.json`, which you'll modify to match the file above.
Expand Down