https://github.com/nicopennec/vagrant-webpagetest
Easily create your own WebPageTest Private Instance with Vagrant
https://github.com/nicopennec/vagrant-webpagetest
vagrant webpagetest webperf
Last synced: about 1 year ago
JSON representation
Easily create your own WebPageTest Private Instance with Vagrant
- Host: GitHub
- URL: https://github.com/nicopennec/vagrant-webpagetest
- Owner: NicoPennec
- License: mit
- Created: 2015-04-24T14:08:52.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-05T15:31:34.000Z (about 11 years ago)
- Last Synced: 2025-02-14T09:52:45.146Z (over 1 year ago)
- Topics: vagrant, webpagetest, webperf
- Size: 137 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebPageTest Private Instance with Vagrant
## About
Easily create your own local WebPageTest Private Instance with Vagrant.
WebPagetest is used for measuring and analyzing the performance of web pages.
WebPagetest Private Instance : [official documentation](https://sites.google.com/a/webpagetest.org/docs/private-instances)
## Project Status
This project is still in progress
- WPT Server: __ready__ _(Vagrant VM)_
- WPT Agent: __in progress__
## Requirements
Install:
- [Git](http://git-scm.com/)
- [Virtual Box](https://www.virtualbox.org/)
- [Vagrant](https://www.vagrantup.com/)
Optional for Windows:
- [cmder](http://gooseberrycreative.com/cmder/) (terminal with SSH)
## Install
Open a terminal in your favorite path.
### Clone the project from GitHub
```sh
$ git clone https://github.com/NicoPennec/vagrant-webpagetest.git
$ cd vagrant-webpagetest/vagrant/
```
### Vagrant configuration behind a proxy (optional)
```sh
$ vagrant plugin install vagrant-proxyconf
```
Edit the `Vagrantfile` file:
- config.proxy.http = "`http://your_proxy_:8080`"
- config.proxy.https = "`http://your_proxy:8080`"
- config.proxy.no_proxy = "localhost,127.0.0.1"
### Update your hosts
Edit your `hosts` configuration file:
- Linux: `/etc/hosts`
- MacOS: `/private/etc/hosts`
- Windows: `C:\Windows\System32\drivers\etc\`
```sh
127.0.0.1 webpagetest
```
### Init the VM
```sh
$ vagrant provision
```
### Run the VM
```sh
$ vagrant up
```
### Play with your local WebPageTest
[http://webpagetest:8080/](http://webpagetest:8080/)
### Stop the VM
```sh
$ vagrant halt
```