mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Update umami.sh
Update umami-install.sh Update build.func Adjust resources and dependencies for Umami installation and build process
This commit is contained in:
parent
4bce8ff991
commit
fc09585b36
3 changed files with 9 additions and 10 deletions
|
@ -31,7 +31,6 @@ msg_ok "Set up Node.js Repository"
|
|||
msg_info "Installing Node.js"
|
||||
$STD apt-get update
|
||||
$STD apt-get install -y nodejs
|
||||
$STD npm install -g yarn
|
||||
msg_ok "Installed Node.js"
|
||||
|
||||
msg_info "Setting up postgresql"
|
||||
|
@ -53,9 +52,9 @@ msg_ok "Set up postgresql"
|
|||
msg_info "Installing Umami (Patience)"
|
||||
git clone -q https://github.com/umami-software/umami.git /opt/umami
|
||||
cd /opt/umami
|
||||
$STD yarn install
|
||||
$STD npm install
|
||||
echo -e "DATABASE_URL=postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME" >>/opt/umami/.env
|
||||
$STD yarn run build
|
||||
$STD npm run build
|
||||
msg_ok "Installed Umami"
|
||||
|
||||
msg_info "Creating Service"
|
||||
|
@ -68,7 +67,7 @@ Type=simple
|
|||
Restart=always
|
||||
User=root
|
||||
WorkingDirectory=/opt/umami
|
||||
ExecStart=/usr/bin/yarn run start
|
||||
ExecStart=/usr/bin/npm run start
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue