- ユーザごとにBookを表示することができる
- 登録したユーザを参照することができる
Book にユーザIDの項目を付加する
migrationファイルで、追加。
https://getcomposer.org/download/
現状こんなコマンドをうつ
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
vue-resource
vue-devtool (chrome extension)
browerfy
bulma
// vue attributes
| # https://tech.eshima.info/?p=156 | |
| git submodule init | |
| git submodule update |
| # for pytyon 2.7 | |
| conda create -n cnd27a python=2.7 numpy scipy matplotlib pandas pil ipython scikit-learn jupyter | |
| # for python 3.5 | |
| conda create -n cnd35b python=3.5 numpy scipy matplotlib pandas pil ipython scikit-learn jupyter |
| 対象os ubuntu 16.04 | |
| # php7.0-cliインストール | |
| sudo apt install php7.0-cli | |
| # requires ext-mbstring への対応 | |
| # https://stackoverflow.com/questions/39200967/laravel-installation-error-in-ubuntu-16-04 |
| // postgres install | |
| sudo apt-get install postgresql | |
| // change password | |
| sudo passwd postgres | |
| // postgresユーザでログイン | |
| su - postgres |