ホノルルマラソンのランナーの検索が厳しくなって知り合いのストーカーをできなくなってる…
乾燥機を回し始めたので
ae3d2f446 (upstream/master) Add specs for Admin::InvitesController (#9471)
81bda7d67 Add setting to not aggregate reblogs (#9248)
マスター ますたー
Merged tootsuite/mastodon at ae3d2f446a60269740a72969d74fa57168530c97.
このアカウントは、notestockで公開設定になっていません。
いろんな新しい習慣が導入されているけど、中でもアドベントカレンダーは本当にいい習慣だなぁ。
同人誌もね、即売会という締切があるから発行されるんだよ。
みんなに、何か書こうぜ!って呼びかけることと、締切があることで、こんなに沢山の記事が読めるようになるんだから!
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
$ yarn install
yarn install v1.12.3
[1/6] 🔍 Validating package.json...
error mastodon@: The engine "node" is incompatible with this module. Expected version ">=8 <11". Got "11.3.0"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Nodeわからーん
$ brew uninstall node yarn
Uninstalling /usr/local/Cellar/node/11.3.0_1... (3,951 files, 47.5MB)
node 9.5.0 and 10.3.0 are still installed.
Remove all versions with `brew uninstall --force node`.
Uninstalling /usr/local/Cellar/yarn/1.12.3... (14 files, 4.7MB)
yarn 1.3.2 is still installed.
Remove all versions with `brew uninstall --force yarn`.
なだなんか入ってるう!
$ yarn install
-bash: /usr/local/bin/yarn: No such file or directory
やーんw
$ brew install yarn
:
==> Installing dependencies for yarn: node
==> Installing yarn dependency: node
==> Downloading https://homebrew.bintray.com/bottles/node-11.3.0_1.high_sierra.b
Already downloaded: /Users/dtomono/Library/Caches/Homebrew/downloads/b214a80afefd5eb738b8da05e3f2f2507fab5010f356df6afa2989749b340995--node-11.3.0_1.high_sierra.bottle.tar.gz
==> Pouring node-11.3.0_1.high_sierra.bottle.tar.gz
だーめーw
$ brew install node@10
$ brew install yarn
$ brew unlink node
$ brew link node@10
Warning: node@10 is keg-only and must be linked with --force
:
$ brew link --force node@10
Linking /usr/local/Cellar/node@10/10.14.1...
Error: Could not symlink bin/npm
Target /usr/local/bin/npm
already exists. You may want to remove it:
rm '/usr/local/bin/npm'
To force the link and overwrite all conflicting files:
brew link --overwrite node@10
To list all files that would be deleted:
brew link --overwrite --dry-run node@10
$ ls -l /usr/local/bin/npm
lrwxr-xr-x 1 zunda admin 46 Dec 9 16:47 /usr/local/bin/npm@ -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
わけがわからないよ。うりゃ。
$ brew link --force --overwrite node@10
Linking /usr/local/Cellar/node@10/10.14.1... 3312 symlinks created
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/node@10/bin:$PATH"' >> ~/.bash_profile
$ brew --version
Homebrew 1.8.4
Homebrew/homebrew-core (git revision d9729; last commit 2018-12-09)
Homebrew/homebrew-cask (git revision 419ec; last commit 2018-12-09)
というわけでmacOSで赤いMastodonを起動する手順
Homebrewとかrbenvは入ってるとして、Postgresは走ってるとして、
$ brew install node@10
$ brew install yarn
$ brew link --force --overwrite node@10
$ export RAILS_ENV=development
$ export NODE_ENV=development
$ yarn install
$ bundle exec rails assets:precompile
$ redis-server &
$ bundle exec rake db:migrate
$ foreman start -f Procfile.dev
ログインは admin@localhost:3000、パスワードはdb/seeds.rbに書いてある。
Mastodon Advent Calendar 2018の10日目の記事をアップしました。
インスタンスの役割とリレーのもたらすもの | のえる研究所
https://noellabo.jp/blog/mastodon-advent-2018-10/
リレーが何をするもので、そもそもインスタンスが引き受けている役割はこういうことだから、リレーを導入するとこうなるよ、という話をまとめて書きました。
#リレーの話 タグで感想お願いします!
これでapp/javascript以下をいじるとwebpack-dev-serverがよしなに再ビルドしてブラウザがよしなにリロードしてくれるようになるんだけどパトラッシュは疲れたしMacBook Airの電池も尽きようとしている
このアカウントは、notestockで公開設定になっていません。
そうそう!cld3はmacOSで入れるのたいへんそうなので抜いておくのがいいかも https://github.com/zunda/mastodon/commit/8505dd77cb697775e997de6627b563a91b9cbc8f
yarnを入れるときにnodeのバージョンを上げちゃわないようにするのは
brew install yarn --without-node
の方がシンプル
このアカウントは、notestockで公開設定になっていません。