https://github.com/shotakitazawa/playbook-devenv
https://github.com/shotakitazawa/playbook-devenv
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shotakitazawa/playbook-devenv
- Owner: ShotaKitazawa
- Created: 2018-11-14T07:59:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-09T07:04:08.000Z (over 6 years ago)
- Last Synced: 2025-01-08T11:48:07.158Z (5 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
Setup development environment for Mac/Linux/WSL
# Execution
## Before execution
### Mac
* install & start sshd
* TODO
* install ansible
* TODO### Linux
* install & start sshd
* TODO
* install ansible
* TODO### WSL (c.f. Ubuntu)
* install sshd
```
apt install openssh-server
```* config sshd
```
sed -i -e 's|^\(PermitRootLogin\).*|\1 yes|g' /etc/ssh/sshd_config
sed -i -e 's|^\(PasswordAuthentication\).*|\1 no|g' /etc/ssh/sshd_config
sed -i -e 's|^\(UsePrivilegeSeparation\).*|\1 no|g' /etc/ssh/sshd_config
```* start sshd
```
/usr/sbin/sshd
```* install ansible
## Execute playbook
* download
```
$ git clone https://github.com/ShotaKitazawa/playbook-devenv.git
```* execute
```
$ ansible-playbook -i inventory site.yml [-k -c paramiko]
```## After Execution
* finish sshd
# Memo
* Base package
* mac: `xcode-select --install`
* redhat: `yum install @base`
* debian: `apt install build-essential software-properties-common`
* Repository
* mac: install homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)`
* redhat: `yum install epel-release`
* debian: `add-apt-repository ppa:neovim-ppa/unstable`
* Xserver
* mac/linux: default ok
* wsl: download from https://sourceforge.net/projects/vcxsrv/ & install
* Python
* install pyenv from https://github.com/pyenv/pyenv
* NeoVim
* python3
* `pip install neovim`
* Vim Plugin
* python3
* `pip install jedi flask autopep8`
* golang
* `go get -u github.com/nsf/gocode`
* `go get -u github.com/golang/lint/golint`
* C/C++
* mac: `brew install clang-format`
* redhat: TODO
* debian: `apt install clang-format`
* mattn/memo
* peco
* install from https://github.com/peco/peco
* GoogleDrive ($HOME/GoogleDrive)
* for Linux: https://github.com/harababurel/gcsf
* tmux
* shared clipboard
* mac: nothing required (tmux2.6+)
* wsl: download from https://github.com/equalsraf/win32yank/releases & deploy to $PATH
* redhat: `yum install xsel`
* debian: `apt install xsel`
* Other
* mac
* cask: `brew install cask`
* macvim: `brew cask install macvim`
* pdf viewer: `brew cask install Skim`
* wsl
* /bin/open: `cmd.exe /c start $@`
* Windows (manually install)
* pdf viewer: https://www.sumatrapdfreader.org/download-free-pdf-viewer.html