Skip to content

Instantly share code, notes, and snippets.

@BronsonQuick
Created October 3, 2015 19:30
Show Gist options
  • Save BronsonQuick/231a714cfc45c09f3aa9 to your computer and use it in GitHub Desktop.
Save BronsonQuick/231a714cfc45c09f3aa9 to your computer and use it in GitHub Desktop.
otto-wordpress
bronsonquick@Zero:/Volumes/Sites $ git clone [email protected]:WordPress/WordPress.git ottowordpress
Cloning into 'ottowordpress'...
remote: Counting objects: 219711, done.
remote: Compressing objects: 100% (524/524), done.
remote: Total 219711 (delta 343), reused 0 (delta 0), pack-reused 219187
Receiving objects: 100% (219711/219711), 138.54 MiB | 1.35 MiB/s, done.
Resolving deltas: 100% (173810/173810), done.
Checking connectivity... done.
bronsonquick@Zero:/Volumes/Sites $ cd ottowordpress/
bronsonquick@Zero:/Volumes/Sites/ottowordpress (master) $ otto compile
==> Loading Appfile...
==> No Appfile found! Detecting project information...
No Appfile was found. If there is no Appfile, Otto will do its best
to detect the type of application this is and set reasonable defaults.
This is a good way to get started with Otto, but over time we recommend
writing a real Appfile since this will allow more complex customizations,
the ability to reference dependencies, versioning, and more.
==> Fetching all Appfile dependencies...
==> Compiling...
Application: ottowordpress (php)
Project: ottowordpress
Infrastructure: aws (simple)
Compiling infra...
Compiling foundation: consul
==> Compiling main application...
==> Compilation success!
This means that Otto is now ready to start a development environment,
deploy this application, build the supporting infastructure, and
more. See the help for more information.
Supporting files to enable Otto to manage your application from
development to deployment have been placed in the output directory.
These files can be manually inspected to determine what Otto will do.
bronsonquick@Zero:/Volumes/Sites/ottowordpress (master) $ otto dev
==> Creating local development environment with Vagrant if it doesn't exist...
Raw Vagrant output will begin streaming in below. Otto does
not create this output. It is mirrored directly from Vagrant
while the development environment is being created.
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'hashicorp/precise64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'hashicorp/precise64' is up to date...
==> default: Setting the name of the VM: dev_default_1443897951380_10776
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.2.0
default: VirtualBox Version: 5.0
==> default: Checking for host entries
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => /Volumes/Sites/ottowordpress
default: /otto/foundation-1 => /Volumes/Sites/ottowordpress/.otto/compiled/app/foundation-consul/app-dev
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: [otto] Installing Consul...
==> default: [otto] Installing dnsmasq for Consul...
==> default: [otto] Configuring consul service: ottowordpress
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: [otto] Adding apt repositories and updating...
==> default: [otto] Installing PHP and supporting packages...
==> default: [otto] Installing Composer...
==> default: #!/usr/bin/env php
==> default: All settings correct for using Composer
==> default: Downloading...
==> default:
==> default: Composer successfully installed to: /tmp/composer.phar
==> default:
==> default: Use it: php composer.phar
==> Caching SSH credentials from Vagrant...
==> Development environment successfully created!
IP address: 172.16.1.199
A development environment has been created for writing a PHP app.
Edit files locally on your machine, the file changes will be synced
to the development environment automatically.
To run and view your application, run 'otto dev ssh' to enter the
development environment. You'll be placed directly into the working
directory where you can run "composer", "php", etc.
You can access the environment from this machine using the IP address above.
For example, if you start your app with 'php -S 0.0.0.0:5000', then you can
access it using the above IP at port 5000.
bronsonquick@Zero:/Volumes/Sites/ottowordpress (master) $ otto dev ssh
==> Executing SSH. This may take a few seconds...
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '14.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
vagrant@precise64:/vagrant$ php -S 172.16.1.199:5000
PHP 5.6.13-1+deb.sury.org~precise+3 Development Server started at Sat Oct 3 18:51:16 2015
Listening on http://172.16.1.199:5000
Document root is /vagrant
Press Ctrl-C to quit.
[Sat Oct 3 18:51:43 2015] 172.16.1.1:55192 [302]: /
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55193 [200]: /wp-admin/setup-config.php
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55195 [200]: /wp-includes/css/buttons.min.css?ver=4.4-alpha-34802
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55197 [200]: /wp-includes/js/jquery/jquery.js?ver=1.11.3
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55196 [200]: /wp-admin/css/install.min.css?ver=4.4-alpha-34802
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55198 [200]: /wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55199 [200]: /wp-admin/js/language-chooser.min.js?ver=4.4-alpha-34802
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55202 [200]: /wp-admin/images/spinner-2x.gif
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55203 [200]: /wp-admin/images/wordpress-logo.svg?ver=20131107
[Sat Oct 3 18:51:45 2015] 172.16.1.1:55204 [404]: /favicon.ico - No such file or directory
[Sat Oct 3 18:52:00 2015] 172.16.1.1:55209 [200]: /wp-admin/setup-config.php?step=0
[Sat Oct 3 18:52:00 2015] 172.16.1.1:55214 [200]: /wp-includes/css/buttons.min.css?ver=4.4-alpha-34802
[Sat Oct 3 18:52:00 2015] 172.16.1.1:55215 [200]: /wp-admin/css/install.min.css?ver=4.4-alpha-34802
[Sat Oct 3 18:52:00 2015] 172.16.1.1:55216 [200]: /wp-includes/js/jquery/jquery.js?ver=1.11.3
[Sat Oct 3 18:52:00 2015] 172.16.1.1:55217 [200]: /wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
[Sat Oct 3 18:52:00 2015] 172.16.1.1:55218 [200]: /wp-admin/js/language-chooser.min.js?ver=4.4-alpha-34802
[Sat Oct 3 18:52:00 2015] 172.16.1.1:55219 [200]: /wp-admin/images/wordpress-logo.svg?ver=20131107
[Sat Oct 3 18:52:04 2015] 172.16.1.1:55220 [200]: /wp-admin/setup-config.php?step=1&language=en_AU
[Sat Oct 3 18:52:04 2015] 172.16.1.1:55221 [200]: /wp-includes/css/buttons.min.css?ver=4.4-alpha-34802
[Sat Oct 3 18:52:04 2015] 172.16.1.1:55223 [200]: /wp-includes/js/jquery/jquery.js?ver=1.11.3
[Sat Oct 3 18:52:04 2015] 172.16.1.1:55222 [200]: /wp-admin/css/install.min.css?ver=4.4-alpha-34802
[Sat Oct 3 18:52:04 2015] 172.16.1.1:55224 [200]: /wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
[Sat Oct 3 18:52:04 2015] 172.16.1.1:55225 [200]: /wp-admin/js/language-chooser.min.js?ver=4.4-alpha-34802
[Sat Oct 3 18:52:04 2015] 172.16.1.1:55226 [200]: /wp-admin/images/wordpress-logo.svg?ver=20131107
[Sat Oct 3 18:52:14 2015] 172.16.1.1:55230 [500]: /wp-admin/setup-config.php?step=2
[Sat Oct 3 18:52:30 2015] 172.16.1.1:55232 Invalid request (Unexpected EOF)
[Sat Oct 3 18:52:30 2015] 172.16.1.1:55233 Invalid request (Unexpected EOF)
[Sat Oct 3 18:52:30 2015] 172.16.1.1:55234 Invalid request (Unexpected EOF)
[Sat Oct 3 18:52:30 2015] 172.16.1.1:55235 Invalid request (Unexpected EOF)
[Sat Oct 3 18:52:30 2015] 172.16.1.1:55236 Invalid request (Unexpected EOF)
[Sat Oct 3 18:52:30 2015] 172.16.1.1:55237 Invalid request (Unexpected EOF)
[Sat Oct 3 18:52:36 2015] 172.16.1.1:55243 [500]: /wp-admin/setup-config.php?step=2
[Sat Oct 3 18:52:49 2015] 172.16.1.1:55245 [200]: /wp-admin/setup-config.php?step=1&language=en_AU
[Sat Oct 3 18:52:49 2015] 172.16.1.1:55253 [200]: /wp-admin/js/language-chooser.min.js?ver=4.4-alpha-34802
[Sat Oct 3 18:52:49 2015] 172.16.1.1:55246 [200]: /wp-includes/css/buttons.min.css?ver=4.4-alpha-34802
[Sat Oct 3 18:52:49 2015] 172.16.1.1:55247 [200]: /wp-admin/css/install.min.css?ver=4.4-alpha-34802
[Sat Oct 3 18:52:49 2015] 172.16.1.1:55248 [200]: /wp-includes/js/jquery/jquery.js?ver=1.11.3
[Sat Oct 3 18:52:49 2015] 172.16.1.1:55249 [200]: /wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
[Sat Oct 3 18:52:49 2015] 172.16.1.1:55254 [200]: /wp-admin/images/wordpress-logo.svg?ver=20131107
[Sat Oct 3 19:25:45 2015] 172.16.1.1:56247 [500]: /wp-admin/setup-config.php?step=2
[Sat Oct 3 19:25:57 2015] 172.16.1.1:56249 [500]: /wp-admin/setup-config.php?step=2
[Sat Oct 3 19:25:59 2015] 172.16.1.1:56250 Invalid request (Unexpected EOF)
[Sat Oct 3 19:25:59 2015] 172.16.1.1:56251 Invalid request (Unexpected EOF)
[Sat Oct 3 19:26:10 2015] 172.16.1.1:56254 Invalid request (Unexpected EOF)
[Sat Oct 3 19:26:10 2015] 172.16.1.1:56255 Invalid request (Unexpected EOF)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment