そうそう!cld3はmacOSで入れるのたいへんそうなので抜いておくのがいいかも https://github.com/zunda/mastodon/commit/8505dd77cb697775e997de6627b563a91b9cbc8f
Notices by zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja), page 219
-
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 13:08:43 JST
zunda ? nはおまけ :green_dango:
-
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 12:09:50 JST
zunda ? nはおまけ :green_dango:
@mimikun --without-nodeの方が手間がなさそう!
In conversation from mastodon.zunda.ninja permalink -
mimikun (mimikun@mstdn.mimikun.jp@mstdn.mimikun.jp)'s status on Monday, 10-Dec-2018 12:09:05 JST
mimikun
brew install yarn --without-node してやったけどそれ以外の方法もあるのね…
In conversation from mstdn.mimikun.jp permalink Repeated by zundan@mastodon.zunda.ninja -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 12:08:43 JST
zunda ? nはおまけ :green_dango:
これでapp/javascript以下をいじるとwebpack-dev-serverがよしなに再ビルドしてブラウザがよしなにリロードしてくれるようになるんだけどパトラッシュは疲れたしMacBook Airの電池も尽きようとしている
In conversation from mastodon.zunda.ninja permalink -
のえる :cava_red: DTP鯖管 (noellabo@dtp-mstdn.jp)'s status on Monday, 10-Dec-2018 06:39:48 JST
のえる :cava_red: DTP鯖管
Mastodon Advent Calendar 2018の10日目の記事をアップしました。
インスタンスの役割とリレーのもたらすもの | のえる研究所
https://noellabo.jp/blog/mastodon-advent-2018-10/リレーが何をするもので、そもそもインスタンスが引き受けている役割はこういうことだから、リレーを導入するとこうなるよ、という話をまとめて書きました。
#リレーの話 タグで感想お願いします!
In conversation from dtp-mstdn.jp permalink Repeated by zundan@mastodon.zunda.ninja Attachments
-
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 12:04:48 JST
zunda ? nはおまけ :green_dango:
というわけで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に書いてある。
In conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:57:10 JST
zunda ? nはおまけ :green_dango:
$ 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)In conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:56:50 JST
zunda ? nはおまけ :green_dango:
え、あ、あのmacOSのなかでぐつぐつしてるやつです
In conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:54:32 JST
zunda ? nはおまけ :green_dango:
ところでHomebrewはビールに入りますか
In conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:54:14 JST
zunda ? nはおまけ :green_dango:
@fujii_yuji 無料枠の変化が原因だったりでしょうか…?
In conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:52:33 JST
zunda ? nはおまけ :green_dango:
$ 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@10To 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 createdIf you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/node@10/bin:$PATH"' >> ~/.bash_profileIn conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:42:38 JST
zunda ? nはおまけ :green_dango:
$ 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
In conversation from mastodon.zunda.ninja permalink Attachments
-
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:38:17 JST
zunda ? nはおまけ :green_dango:
$ yarn install
-bash: /usr/local/bin/yarn: No such file or directoryやーんw
In conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:37:37 JST
zunda ? nはおまけ :green_dango:
$ 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`.なだなんか入ってるう!
In conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:36:24 JST
zunda ? nはおまけ :green_dango:
homebrewのnodeを落とせばいいのかな?
In conversation from mastodon.zunda.ninja permalink -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:35:52 JST
zunda ? nはおまけ :green_dango:
$ 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わからーん
In conversation from mastodon.zunda.ninja permalink Attachments
-
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:28:53 JST
zunda ? nはおまけ :green_dango:
さて次はMastodonの改造を…ってローカルで走らせる方法を思い出すあたりで時間切れちゃうんだよなあ…
In conversation from mastodon.zunda.ninja permalink -
Jun Kudou? (jkudou@oransns.com)'s status on Monday, 10-Dec-2018 11:16:37 JST
Jun Kudou?
実装予定 #4文字で伝わる技術的負債シリーズ
In conversation from oransns.com permalink Repeated by zundan@mastodon.zunda.ninja -
zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Monday, 10-Dec-2018 11:11:21 JST
zunda ? nはおまけ :green_dango:
2分負けましたw
In conversation from mastodon.zunda.ninja permalink -
Asmodeus :dumpling: ? (shinderuman@ding-dong.asmodeus.tokyo@ding-dong.asmodeus.tokyo)'s status on Monday, 10-Dec-2018 11:10:16 JST
Asmodeus :dumpling: ?
In conversation from ding-dong.asmodeus.tokyo permalink Repeated by zundan@mastodon.zunda.ninja