Last active
August 29, 2015 13:57
Revisions
-
eng revised this gist
Mar 12, 2014 . 1 changed file with 13 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,22 +18,32 @@ git clone https://github.com/eng/jeffs-store.git And finally, cd into the jeffs-store directory you just created and: ```bash vagrant up ``` When this is done, you might get this message: ```bash stdin: is not a tty ``` No worries – this is normal. Next, SSH into the virtual machine you just created by issuing this command: ```bash vagrant ssh ``` Then, copy-and-paste the following long command and hit Enter: ```bash sudo apt-get update && sudo env DEBIAN_FRONTEND=noninteractive apt-get upgrade --force-yes -qyu ``` Finally, type "exit" to end the SSH session and get back to your machine. ```bash exit ``` -
eng revised this gist
Mar 12, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,8 +18,8 @@ git clone https://github.com/eng/jeffs-store.git And finally, cd into the jeffs-store directory you just created and: vagrant up When this is done, you might get this message: stdin: is not a tty -
eng revised this gist
Mar 12, 2014 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,13 +4,17 @@ There are just a couple of things you'll have to do in advance, in order to get Once VirtualBox and Vagrant are installed, issue the following commands from Terminal: ```bash vagrant box add precise32 http://files.vagrantup.com/precise32.box ``` This command will download a virtual machine that will take about 1GB of disk space in total, so make sure you've got plenty of space and go grab lunch while you do this! Once this is done, grab the project we'll be deploying: ```bash git clone https://github.com/eng/jeffs-store.git ``` And finally, cd into the jeffs-store directory you just created and: -
eng created this gist
Mar 12, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ There are just a couple of things you'll have to do in advance, in order to get your environment ready to be able to follow along. This takes about 30 minutes (of mostly waiting) so be sure to carve out some time to do this. **VirtualBox** and **Vagrant** are two tools that we'll be using to emulate a production environment on your local machine. Install the latest version of VirtualBox from https://www.virtualbox.org/wiki/Downloads. Install Vagrant from http://www.vagrantup.com/downloads.html. Once VirtualBox and Vagrant are installed, issue the following commands from Terminal: vagrant box add precise32 http://files.vagrantup.com/precise32.box This command will download a virtual machine that will take about 1GB of disk space in total, so make sure you've got plenty of space and go grab lunch while you do this! Once this is done, grab the project we'll be deploying: git clone https://github.com/eng/jeffs-store.git And finally, cd into the jeffs-store directory you just created and: vagrant up When this is done, you might get this message: stdin: is not a tty No worries – this is normal. Next, SSH into the virtual machine you just created by issuing this command: vagrant ssh Then, copy-and-paste the following long command and hit Enter: sudo apt-get update && sudo env DEBIAN_FRONTEND=noninteractive apt-get upgrade --force-yes -qyu Finally, type "exit" to end the SSH session and get back to your machine. Let me know if you run into issues or have any questions.