This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Remove old version of firefly-iii | |
rm -r firefly-iii-old | |
# Get latest version number of firefly | |
latestversion=$(curl -s https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")') | |
# Download latest release version | |
wget https://github.com/firefly-iii/firefly-iii/releases/download/$latestversion/FireflyIII-$latestversion.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################## | |
# Rewrites for Firefly + CSV-Importer. | |
# First location is for CSV Import tool | |
# General / is for the app | |
########################################## | |
location /csv-importer { | |
alias /full/path/to/csv/importer/public; | |
try_files $uri $uri/ @csv_importer; |