Skip to content

Commit

Permalink
README: fix Artisan commands
Browse files Browse the repository at this point in the history
They need to be executed as the www-data user, in order to be able to
store data in the logs.
  • Loading branch information
stsnel committed Apr 4, 2024
1 parent 58b4163 commit 1b7b2b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ space.
Run the following commands in /var/www/msl\_api after deploying the application using Ansible:

```bash
/usr/bin/php8.0 artisan migrate
/usr/bin/php8.0 artisan db:seed
/usr/bin/php8.0 artisan storage:link
sudo -u www-data /usr/bin/php8.0 artisan migrate
sudo -u www-data /usr/bin/php8.0 artisan db:seed
sudo -u www-data /usr/bin/php8.0 artisan storage:link
```

# Configuration
Expand Down

0 comments on commit 1b7b2b1

Please sign in to comment.