いまここ。
.emojione {
transition: all 0.2s ease-in-out;
}
.emojione:hover {
width: 50px;
height: 50px;
transition: all 0.2s ease-in-out;
}
.account__avatar{
transition: all 0.3s;
}
.account__avatar:hover {
transform: scale(1.4);
}
.emoji-mart-emoji{
transition: all 0.1s;
}
.emoji-mart-emoji:hover {
transform: scale(1.6);
}
なんとなく openssl が最新じゃないのが嫌なので、nginx を野良ビルド。
debian/rules の
DEB_CFLAGS_MAINT_APPEND 行の最後に
-Wno-missing-field-initializers
を追加、 同 ./configure 行の最後のほうに
--with-openssl=/tmp/openssl-1.1.1d
を追加。
で、dpkg-buildpackage -b -uc
とな。
rpm 系のしか使ったことないんで、勉強中 :)
ngiinx -V
nginx version: nginx/1.17.4
built by gcc 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
built with OpenSSL 1.1.1d 10 Sep 2019
TLS SNI support enabled
...
Ubuntu 18.04 に nginx の最新版を入れる説明で sources.list に、
deb http://nginx.org/packages/ubuntu/ bionic nginx
としているのが多いけど、
deb http://nginx.org/packages/mainline/ubuntu/ bionic nginx
のほうがいいと思う。
VM で Mastodon / nginx 走らせて、ホスト側の nginx で TLS化していけど、Mastodon プロセスがいくつかのローカルフォルダのデータを返してくれないので VM の nginx が停止できん(のか?)。
VM 側
...
location / {
root /home/mastodon/live/public;
...
host 側(こんなことやりたくないんだが w)
...
location ~ ^/(emoji|packs|sounds|system/site_uploads|assets/pghero|system/accounts/avatars|system/accounts/headers|system/media_attachments/files|system/custom_emojis/images|system/preview_cards/images|avatars/original|headers/original|favicon.ico|apple-touch-icon.png)
...
cd ~/live
bundle install
yarn install
SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate
RAILS_ENV=production bundle exec rails assets:precompile
RAILS_ENV=production bin/tootctl cache clear
RAILS_ENV=production bundle exec rails db:migrate
# For ElasticSearch
#RAILS_ENV=production bin/tootctl search deploy
sudo systemctl restart mastodon-*
cd ~/live
git fetch
git checkout v3.0.0rc1
cd ~/.rbenv
git pull
cd ~/.rbenv/plugins/ruby-build
git pull
rbenv install --list
rbenv install 2.6.4
gem update
横浜あたりにキャッシュを少し置いています。
多分ですが、おひとり様インスタンスからのフォローリクエストはスルーします。
https://project-gc.com/ProfileStats/setter2002