Skip to content
Snippets Groups Projects
Unverified Commit 80f92d1c authored by tamaina's avatar tamaina Committed by GitHub
Browse files

Update ubuntu.sh

parent 37e67422
No related branches found
No related tags found
No related merge requests found
......@@ -426,23 +426,22 @@ systemctl restart nginx;
su $misskey_user << MKEOF;
set -eu;
cd ~;
NODE_ENV=production;
cd $misskey_directory
tput setaf 3;
echo "Process: install npm packages;"
tput setaf 7;
npx yarn install
npx yarn install;
tput setaf 3;
echo "Process: build misskey;"
tput setaf 7;
npm run build
NODE_ENV=production npm run build;
tput setaf 3;
echo "Process: initialize database;"
tput setaf 7;
npm run init
npm run init;
tput setaf 3;
echo "Check: If Misskey starts correctly;"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment