This file contains 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 characters
# バージョン確認 | |
$ python3.5 -V | |
Python 3.5.2 | |
# debパッケージをインストール | |
$ sudo apt -y install build-essential | |
$ sudo apt -y install python3-dev | |
$ sudo apt -y install libsqlite3-dev | |
$ sudo apt -y install libreadline6-dev | |
$ sudo apt -y install libgdbm-dev |
This file contains 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 characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
This file contains 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 characters
# 起動 | |
$ vagrant ssh | |
# パッケージ更新 | |
vagrant@ubuntu-xenial:~$ sudo apt -y update | |
vagrant@ubuntu-xenial:~$ sudo apt -y upgrade | |
# ログアウト | |
vagrant@ubuntu-xenial:~$ exit |
This file contains 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 characters
$ vagrant init ubuntu/xenial64 | |
$ vagrant up |
This file contains 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 characters
$ cd ubuntu_xenial64 | |
$ vagrant box add ubuntu/xenial64 | |
# 確認 | |
$ vagrant box list | |
ubuntu/xenial64 (virtualbox, 20181012.0.0) |
This file contains 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 characters
$ vagrant -v | |
Vagrant 2.1.5 |
This file contains 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 characters
$ cd ~/.ssh | |
$ ssh-keygen -t rsa |
This file contains 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 characters
$ 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 |
This file contains 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 characters
# install dependencies | |
$ npm install | |
# serve with hot reload at localhost:8080 | |
$ npm run dev |