Skip to content

Commit

Permalink
Minor changes in the installation procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
jjdejong committed Jun 7, 2024
1 parent f802445 commit 89d6e6e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions doc/install-phpip-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ echo "
********************************
Updating Ubuntu
********************************"
# Uncomment below for Ubuntu 20.04
# Uncomment below for Ubuntu 22.04 and before to get the latest PHP version
#add-apt-repository ppa:ondrej/php -y
apt update
apt -y upgrade
Expand Down Expand Up @@ -31,14 +31,15 @@ echo "
********************************
Getting phpIP from GitHub
********************************"
cd /var/www/html
cd /var/www
git clone https://github.com/jjdejong/phpip.git phpip
cd phpip
composer install
cp .env.example .env
php artisan key:generate
php artisan config:clear
cp doc/phpip.conf /etc/apache2/sites-enabled/
cp doc/phpip.conf /etc/apache2/sites-available/
a2ensite phpip
chmod -R g+rw storage
chmod -R g+rw bootstrap/cache
chgrp -R www-data storage
Expand Down
3 changes: 1 addition & 2 deletions doc/phpip.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<VirtualHost *:80>
ServerName phpip.local
DocumentRoot /var/www/phpip/public
SetEnv APPLICATION_ENV "live"
ErrorLog /var/log/apache2/phpip-error.log
CustomLog /var/log/apache2/phpip-access.log combined
</VirtualHost>

<Directory /var/www/html/phpip/public>
<Directory /var/www/phpip/public>
AllowOverride All
</Directory>
2 changes: 1 addition & 1 deletion resources/scripts/aqs.ini.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
url = https://qa.anaquaservices.com/ws/me/patents/
url = https://api.anaquaservices.com/ws/me/patents/
jwt_header_encoded = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
jwt_secret = <your AQS secret>
aqs_fee = 10
Expand Down

0 comments on commit 89d6e6e

Please sign in to comment.