Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAutomate setup of development environment #1051
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Aug 23, 2014
Contributor
Update: This can now deploy to Amazon
Update 2: It now has a decent README
|
Update: This can now deploy to Amazon |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Aug 24, 2014
Contributor
Update: This can now use three virtual machines, each configured for a unique role (app server, database server, client server)
|
Update: This can now use three virtual machines, each configured for a unique role (app server, database server, client server) |
lhotari
and others
added some commits
Nov 21, 2013
hamiltont
added some commits
Aug 27, 2014
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Aug 28, 2014
Contributor
Ok, this is finally done. It can out of the box launch a one-VM VirtualBox development environment, or a 3-VM VirtualBox development environment. If you run vagrant-aws/setup.py it will configure your Amazon account with a network (a "Virtual private cloud") that can run our setup, and then it can run a one-VM development environment in Amazon or can run a benchmark-ready 3-VM environment. By default, the 3-VM Amazon environment uses m1.large and general purpose SSD drives. There are tons of variables to change the amazon settings (instance type, ebs type, delete ebs, etc), and a few variables to change the virtualbox setup (show virtual machine, memory for each vm, etc).
|
Ok, this is finally done. It can out of the box launch a one-VM VirtualBox development environment, or a 3-VM VirtualBox development environment. If you run |
added a commit
that referenced
this pull request
Aug 28, 2014
hamiltont
merged commit 436fbcf
into
TechEmpower:master
Aug 28, 2014
1 check was pending
hamiltont
deleted the
hamiltont:vagrant-setup
branch
Aug 28, 2014
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Great Job!! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
pdonald
Aug 29, 2014
Contributor
This is great.
Note: if you are on Windows and autocrlf is true in Git then all bash scripts will have \r\n line endings and bootstrap scripts will fail.
|
This is great. Note: if you are on Windows and autocrlf is true in Git then all bash scripts will have \r\n line endings and bootstrap scripts will fail. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Pēteris, This sounds problematic. Is there a fix we can apply? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
pdonald
Aug 31, 2014
Contributor
You could check if one of the bootstrap bash scripts contains \r\n and then show a warning explaining that the user should set autocrlf to false in Git settings and check out all files again.
|
You could check if one of the bootstrap bash scripts contains \r\n and then show a warning explaining that the user should set autocrlf to false in Git settings and check out all files again. |
hamiltont commentedAug 22, 2014
This uses Vagrant to automatically setup a fully working TFB development environment inside a Virtualbox VM. The entire environment is contained in one virtual machine (app server, client server, database server), so you can do verification and benchmarking (not much reason to benchmark inside this setup, my point is just that there's no limitation).
Here's how to setup an environment based on github.com/TechEmpower/FrameworkBenchmarks:
Here's how to setup an environment based on your local source code: