fix
This commit is contained in:
parent
563c520aee
commit
853961f53c
18
README.md
18
README.md
@ -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.
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user