This commit is contained in:
Your Name 2023-05-13 16:47:41 -06:00
parent 6b40350e8b
commit 1ace9ca5b9

View File

@ -19,6 +19,7 @@ misskey() {
git submodule update --init git submodule update --init
pnpm install --frozen-lockfile pnpm install --frozen-lockfile
NODE_ENV=production pnpm run build NODE_ENV=production pnpm run build
pnpm run init
} }
database() { database() {
@ -55,6 +56,5 @@ sed -i "s/example-misskey-pass/${DB_PASSWORD}/g" /opt/misskey/.config/default.ym
sed -i "s/ENDPOINT/${ENDPOINT}/g" /etc/nginx/sites-enabled/misskey.conf sed -i "s/ENDPOINT/${ENDPOINT}/g" /etc/nginx/sites-enabled/misskey.conf
cp -f /usr/share/zoneinfo/US/Mountain /etc/localtime cp -f /usr/share/zoneinfo/US/Mountain /etc/localtime
cd /opt/misskey cd /opt/misskey
pnpm run init
misskey misskey
touch /configured.txt touch /configured.txt