■wockerで初期設定をサクッと終わらせる http://note.next-season.net/cms/wordpress/808
##macのターミナル
vagrant ssh
##ここからはwockerマシンの中のssh操作
ls -s ~/data/init.sh /home/core/
chmod +x /home/core/init.sh
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
# ZSH_THEME="robbyrussell" | |
ZSH_THEME="odin" |
■wockerで初期設定をサクッと終わらせる http://note.next-season.net/cms/wordpress/808
##macのターミナル
vagrant ssh
##ここからはwockerマシンの中のssh操作
ls -s ~/data/init.sh /home/core/
chmod +x /home/core/init.sh
https://wordbenchkobe.doorkeeper.jp/events/37893
→他に選択肢がない場合は使う。PR 送れる技術があれば送りたい。
//- _layout.jade | |
doctype html | |
html | |
head | |
block title | |
title Default title | |
body | |
block content |
//- _mixins.jade | |
mixin breadcrumb(...items) | |
div(itemscope='itemscope', itemtype='http://data-vocabulary.org/Breadcrumb') | |
a(href=dir, itemprop='url') | |
span(itemprop='title') | |
= pageName | |
| > |
//- index.jade | |
doctype html | |
html | |
head | |
title タイトル | |
body | |
include nav.jade |
PS C:\vccw-2.19.0> vagrant -v
Vagrant 1.8.1
PS C:\vccw-2.19.0> vagrant up
Bringing machine 'vccw.dev' up with 'virtualbox' provider...
==> vccw.dev: Removing hosts
==> vccw.dev: No machine id, nothing removed from C:/WINDOWS/system32/drivers/etc/hosts
==> vccw.dev: Importing base box 'miya0001/vccw'...
==> vccw.dev: Matching MAC address for NAT networking...
==> vccw.dev: Checking if box 'miya0001/vccw' is up to date...
PD@PD-VAIO MINGW64 /c/vccw-2.19.0
$ vagrant -v
Vagrant 1.8.1
PD@PD-VAIO MINGW64 /c
$ vagrant box add miya0001/vccw
==> box: Loading metadata for box 'miya0001/vccw'
box: URL: https://atlas.hashicorp.com/miya0001/vccw
==> box: Adding box 'miya0001/vccw' (v2.19.0) for provider: virtualbox
box: Downloading: https://atlas.hashicorp.com/miya0001/boxes/vccw/versions/2.19.0/providers/virtualbox.box
Timed out while waiting for the machine to boot. This means that | |
Vagrant was unable to communicate with the guest machine within | |
the configured ("config.vm.boot_timeout" value) time period. | |
If you look above, you should be able to see the error(s) that | |
Vagrant had when attempting to connect to the machine. These errors | |
are usually good hints as to what may be wrong. | |
If you're using a custom box, make sure that networking is properly | |
working and you're able to connect to the machine. It is a common |
{ | |
"variables": { | |
"lang": "ja", | |
"locale": "ja-JP" | |
}, | |
"php": { | |
"filters": "php", | |
"extends": "html", | |
"profile": "xml" | |
} |