mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-07 08:19:17 +00:00
fixed install probably
This commit is contained in:
parent
99015e903a
commit
0d52cf225f
@ -110,4 +110,4 @@ description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${APP} should be reachable by going to the following URL.
|
||||
${BL}http://${IP}{CL} \n"
|
||||
${BL}http://${IP}${CL} \n"
|
@ -55,29 +55,19 @@ cd /opt
|
||||
wget -q "https://github.com/firefly-iii/firefly-iii/releases/download/${RELEASE}/FireflyIII-${RELEASE}.tar.gz"
|
||||
mkdir -p /opt/firefly-iii
|
||||
tar -xzf FireflyIII-${RELEASE}.tar.gz -C /opt/firefly-iii
|
||||
msg_ok "Downloaded"
|
||||
msg_info "chown"
|
||||
chown -R www-data:www-data /opt/firefly-iii
|
||||
chmod -R 775 /opt/firefly-iii/storage
|
||||
msg_ok "chown"
|
||||
msg_info "env"
|
||||
cd /opt/firefly-iii
|
||||
cp .env.example .env
|
||||
sed -i "s/DB_HOST=.*/DB_HOST=localhost/" /opt/firefly-iii/.env
|
||||
sed -i "s/DB_PASSWORD=.*/DB_PASSWORD=$DB_PASS/" /opt/firefly-iii/.env
|
||||
msg_ok "env"
|
||||
msg_info "php composer"
|
||||
echo "export COMPOSER_ALLOW_SUPERUSER=1" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
$STD composer install --no-dev --no-plugins --no-interaction
|
||||
msg_ok "php composer"
|
||||
msg_info "artisan"
|
||||
$STD php artisan firefly-iii:upgrade-database
|
||||
$STD php artisan firefly-iii:correct-database
|
||||
$STD php artisan firefly-iii:report-integrity
|
||||
$STD php artisan firefly-iii:laravel-passport-keys
|
||||
msg_ok "artisan"
|
||||
msg_info "versioning"
|
||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
||||
msg_ok "Installed Firefly III"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user