This commit is contained in:
Ghostie 2025-01-06 18:50:49 -05:00
parent 563c520aee
commit 853961f53c
2 changed files with 24 additions and 1 deletions

View File

@ -168,12 +168,28 @@ Restart nginx:
sudo systemctl restart nginx
```
And finally, link the storage to the public folder:
Now link the storage to the public folder:
```bash
php artisan storage:link
```
And finally, we need to create a service to handle the jobs that OurSpace needs to run. So run something `emacs /lib/systemd/system/ourspace-queue.service` and add the following content:
```ini
[Unit]
Description=OurSpace queue worker
[Service]
User=www-data
Group=www-data
Restart=on-failure
ExecStart=/usr/bin/php /var/www/html/ourspace/artisan queue:work --daemon --env=production
[Install]
WantedBy=multi-user.target
```
## TODO:
For a list of planned features and improvements, please refer to the [TODO](TODO) file.

View File

@ -108,6 +108,13 @@ class TypeActor {
if ($actor->user)
{
// appent to @context
$response ["@context"][] = [
"schema" => "http://schema.org#",
"PropertyValue" => "schema:PropertyValue",
"value" => "schema:value"
];
$response ["attachment"] = [
[
"type" => "PropertyValue",