Skip to content

Commit

Permalink
Merge pull request #1149 from reedy/patch-7
Browse files Browse the repository at this point in the history
INSTALL: Updates
  • Loading branch information
jpatokal committed Feb 28, 2023
2 parents e1b6612 + 1cb7d4a commit 28eed48
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sudo apt-get install man vim mysql-client
# OpenFlights does not support PHP8, so we need to hack in PHP7
sudo apt install software-properties-common apt-transport-https -y
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get install git nginx php7.4 php7.4-curl php7.4-fpm php7.4-gd php7.4-mysql php7.4-xml locales
sudo apt-get install git nginx php7.4 php7.4-curl php7.4-fpm php7.4-gd php7.4-mbstring php7.4-mysql php7.4-xml locales unzip

# Install OpenFlights as its own user
sudo adduser openflights
Expand Down Expand Up @@ -61,10 +61,11 @@ $tripit_app_secret = "[YOUR-APP-SECRET]";
# Remember to set up Mailgun integration: https://cloud.google.com/compute/docs/tutorials/sending-mail/using-mailgun
sudo apt-get install crontab postfix mailutils
sudo crontab -e <<FOO
0 2 * * * /bin/bash /home/jpatokal/openflights/elite/expire.sh >>/var/log/cronrun 2>&1
0 2 * * * /bin/bash /home/openflights/openflights/elite/expire.sh >>/var/log/cronrun 2>&1
FOO

# Copy ads, analytics
sudo -u openflights vi ad.html
sudo -u openflights vi analytics.html
sudo -u openflights vi html/ad.html
sudo -u openflights vi html/analytics.html
sudo -u openflights vi html/ad-sidebar.html

0 comments on commit 28eed48

Please sign in to comment.