ใ„ใพใ“ใ“ใ€‚
.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);
}

ใ“ใ“ใฎ CSS ใ‚’ๅฐ‘ใ—ใ„ใ˜ใ‚Šๅง‹ใ‚ใฆใพใ™ใ€‚
ใจใ‚Šใ‚ใˆใš็ทด็ฟ’ใจใ„ใ†ใ“ใจใงใ€็ตตๆ–‡ๅญ—ใซใ‚ซใƒผใ‚ฝใƒซใ‚ใฆใ‚‹ใจๆ‹กๅคงใ—ใพใ™ w

Mastodon 3.0.1 ใซใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆใ—ใพใ—ใŸใ€‚

ใ•ใฆใ€ใ‚ใ‚“ใพๆš‘ใใชใ‚‹ๅ‰ใซใƒกใƒณใƒ†่กŒใใพใ™ใ‹ใ€‚

Mastodon 3.0.0 ใƒชใƒชใƒผใ‚น็‰ˆใซใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆใ—ใพใ—ใŸใ€‚

ใƒชใƒชใƒผใ‚นใƒŽใƒผใƒˆใซๆ›ธใ„ใฆใชใ„ใ‘ใฉใ€Ruby 2.6.4 -> 2.6.5 ใซใชใฃใฆใ‚‹ใญใ€‚

Mastodon 3.0.0rc3 ใซใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆใ—ใพใ—ใŸใ€‚

ใƒขใƒใ‚คใƒซใซใ‚„ใ•ใ—ใ„ใ‚‰ใ—ใ„ใ€
TLS_CHACHA20_POLY1305_SHA256
ใฎๅ„ชๅ…ˆ้ †ไฝใ‚’ไธŠใ’ใฆใ‚‹ใ‚“ใงใ™ใŒใ€ๅฎŸ้š›ใฎใจใ“ใฉใ†ใชใ‚“ใงใ—ใ‚‡ใ†ใ‹ใญ๏ผŸ

ใชใ‚“ใจใชใ 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 nginx.org/packages/ubuntu/ bionic nginx
ใจใ—ใฆใ„ใ‚‹ใฎใŒๅคšใ„ใ‘ใฉใ€
deb nginx.org/packages/mainline/ub bionic nginx
ใฎใปใ†ใŒใ„ใ„ใจๆ€ใ†ใ€‚

Mastodon 3.0.0rc2 ใซใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆใ—ใพใ—ใŸใ€‚

ๆ–ฐ็’ฐๅขƒใซๅฏพใ™ใ‚‹ DBใ‚ตใƒผใƒใƒผใฎใƒใƒฅใƒผใƒ‹ใƒณใ‚ฐใ‚’ๅฟ˜ใ‚Œใฆใ„ใŸใฎใงๅฎŸ่กŒใ€‚PostgreSQL v10 ใ‚ใŸใ‚Šใ‹ใ‚‰ใ€ใชใ‚“ใ‚‚ใ—ใชใใฆใ‚‚่‰ฏใใชใฃใŸๆฐ—ใŒใ™ใ‚‹ใ‘ใฉใ€ใ‚„ใฃใฑ้€Ÿใใชใ‚‹ใ€‚ใชใœใ‹ใ€autovacuum ใŒๅ‹•ใ‹ใชใใชใฃใฆใŸใ€‚้…”ใฃใฑใ‚‰ใฃใฆ่จญๅฎšใ„ใ˜ใฃใŸใ‹ใช๏ผŸ ww
ใ‚ใ‚Œใจใ‹ใ‚ใ‚Œใ‚‚ใ€127.0.0.1 ใ‚„ใ‚ใฆใ€unix socket ไฝฟใ†ใ‚ˆใ†ใซใ—ใŸใ€‚

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)
...

ใจใ‚Šใ‚ใˆใš 4GB -> 6GB ใซใ—ใพใ—ใŸใ€‚
ไป–ใซใ‚‚่‰ฒใ€…ใชใƒใƒฅใƒผใƒ‹ใƒณใ‚ฐใ‚„ใ‚ทใ‚นใƒ†ใƒ ๆง‹ๆˆใฎๅค‰ๆ›ดใ€ใ‚ญใƒฃใƒƒใ‚ทใƒฅ่จญๅฎšใจใ‹ใ—ใŸใ‚“ใงใ™ใŒใ€ใฉใ‚“ใชๆ„Ÿใ˜ใ‹ใช๏ผŸ

ใ†ใกใฎ Mastodon ใฎๅ…จๆ–‡ๆคœ็ดขใ‚จใƒณใ‚ธใƒณใ‚’ๅพฉๆดปใ•ใ›ใพใ—ใŸใ€‚ไปŠๅ›žใฏใกใ‚ƒใ‚“ใจใ—ใŸๆ—ฅๆœฌ่ชžๆคœ็ดขใŒใงใใใ†ใงใ™ใ€‚ๆคœ็ดข็ตๆžœใ‚‚30ไปถใซๅข—ใ‚„ใ—ใฆใพใ™(็’ฐๅขƒๅค‰ๆ•ฐใงๆŒ‡ๅฎšใงใใ‚‹ใ‚ˆใ†ใซใชใฃใฆใŸ)ใ€‚
elasticsearch + sudachi
ใƒกใƒขใƒช้ฃŸใ„ใชใƒ—ใƒญใ‚ฐใƒฉใƒ ใชใฎใงใ€ใ‚ใจใงใ€ใ‚‚ใ†ๅฐ‘ใ—VMใฎใƒกใƒขใƒชใ‚’ๅข—ใ‚„ใ—ใพใ™ใ€‚

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
=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

Mastodon 3.0.0rc1 ใซใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆใ—ใพใ—ใŸใ€‚

Show more
Geotodon ฯ„

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!