Skip to content

Instantly share code, notes, and snippets.

View Liyuu8's full-sized avatar

Liyuu Liyuu8

View GitHub Profile
$ npm install -g vue-cli
@Liyuu8
Liyuu8 / Vue.js Init
Last active September 9, 2018 17:25
$ vue init webpack-simple mymarkdown
# install dependencies
$ npm install
# serve with hot reload at localhost:8080
$ npm run dev
@Liyuu8
Liyuu8 / Git Init
Last active September 9, 2018 17:26
$ git config --global user.name "NAME"
$ git config --global user.email "EMAIL"
$ git init
$ git add .
$ git commit -m "Initialize repository"
$ git remote add origin git@github.com:Liyuu8/Mymarkdown.git
$ git push -u origin master
$ cd ~/.ssh
$ ssh-keygen -t rsa
$ git commit --amend --reset-author
$ vagrant -v
Vagrant 2.1.5
$ cd ubuntu_xenial64
$ vagrant box add ubuntu/xenial64
# 確認
$ vagrant box list
ubuntu/xenial64 (virtualbox, 20181012.0.0)
$ vagrant init ubuntu/xenial64
$ vagrant up
# 起動
$ vagrant ssh
# パッケージ更新
vagrant@ubuntu-xenial:~$ sudo apt -y update
vagrant@ubuntu-xenial:~$ sudo apt -y upgrade
# ログアウト
vagrant@ubuntu-xenial:~$ exit