Fabio Manganiello
4038ef3bc1
[ #319 ] Added platypush/config/systemd
directory.
...
continuous-integration/drone/push Build is passing
It contains both `platypush.service` and the `sysusers.d` and
`tmpfiles.d` configurations used by the package managers.
2024-05-20 22:19:30 +02:00
Fabio Manganiello
1cad0394ab
systemd requirements tweak.
...
continuous-integration/drone/push Build is passing
`Requires=redis.service` should be commented unless the service is
started as a privileged user.
Also added some comments on how the systemd service usually works.
2024-05-20 21:51:08 +02:00
Fabio Manganiello
02a3385638
Tweaked Platypush systemd service.
...
continuous-integration/drone/push Build is passing
- A more informative Description
- `s/WantedBy=default.target/WantedBy=multi-user.target/`
- `redis.service` is a strong requirement
2024-05-20 13:02:36 +02:00
Fabio Manganiello
32b8296244
[ #400 ] Dynamic logic to infer procedures/hooks arguments.
...
This allows procedures and event hooks to have more flexible signatures.
Along the lines of:
```python
@when(SomeEvent)
def hook(event):
...
@when(SomeOtherEvent)
def hook2():
...
```
Instead of supporting only the full context spec:
```python
@when(SomeEvent)
def hook(event, **ctx):
...
```
Closes : #400
2024-05-19 02:17:42 +02:00
Fabio Manganiello
7a849379f9
[ #399 ] Added @when
decorator as an alias for @hook
.
...
continuous-integration/drone/push Build is passing
Closes : #399
2024-05-08 21:58:58 +02:00
Fabio Manganiello
c69f97c0a5
Updated default config.yaml.
...
continuous-integration/drone/push Build is passing
The new configuration:
- Enables `backend.http` by default
- Removes the extra `config.auto.yaml` dependency
- Includes many more examples, lots of updates for existing examples,
and extensive comments.
2023-09-04 02:22:46 +02:00
Fabio Manganiello
759075f1d9
Updated sample nginx configuration.
2023-09-01 01:09:38 +02:00
Fabio Manganiello
afa4de5673
Dockerfile moved to application root
continuous-integration/drone/push Build is passing
2023-08-17 10:38:21 +02:00
Fabio Manganiello
24b04d9103
s/--config-file/--config/ option in Dockerfile.
continuous-integration/drone/push Build is failing
2023-08-17 10:35:40 +02:00
Fabio Manganiello
f07b774e75
A better Dockerfile.
continuous-integration/drone/push Build is passing
2023-08-17 03:04:34 +02:00
Fabio Manganiello
fef6513cc8
Alpine Linux requires the linux-headers package to build psutil.
continuous-integration/drone/push Build is passing
2023-08-15 11:40:02 +02:00
Fabio Manganiello
9788c642f9
Fixed Dockerfile
2023-07-24 11:04:17 +02:00
Fabio Manganiello
1586484e84
Upgraded Dockerfile
2023-07-24 10:37:51 +02:00
Fabio Manganiello
04b759e4d5
Upgraded base Python image in example Dockerfile.
...
3.7 -> 3.11
2023-07-23 17:27:48 +02:00
Fabio Manganiello
0de56ad52e
Added nginx sample configuration.
2023-05-10 00:59:41 +02:00
Fabio Manganiello
f9b0bc905e
Migrated websocket service.
...
The websocket service is no longer provided by a different service,
controlled by a different thread running on another port.
Instead, it's now exposed directly over Flask routes, using
WSGI+eventlet+simple_websocket.
Also, the SSL context options have been removed from `backend.http`, for
sake of simplicity. If you want to enable SSL, you can serve Platypush
through a reverse proxy like nginx.
2023-05-07 12:08:28 +02:00
Fabio Manganiello
7f157d0234
Dockerfile should be part of the examples/ folder
2021-03-16 00:29:52 +01:00
Fabio Manganiello
04a23d555d
Updated README (it hadn't been updated for ages)
2021-02-22 02:53:20 +01:00
Fabio Manganiello
dae8cf0111
Uncommented some sections of the example config.yaml
2021-02-22 02:08:26 +01:00
Fabio Manganiello
ffb7a3e5a3
Extended and updated pieces of documentation on the HTTP server, Zigbee2mqtt and mpd. Also added example dashboard template and event hook script.
2021-02-22 01:20:01 +01:00
Fabio Manganiello
e08d4c21b8
Documentation domain name moved to docs.platypush.tech
2021-02-02 01:05:07 +01:00
Fabio Manganiello
cabc154252
systemd unit should depend on redis
2020-07-20 01:42:28 +02:00
Fabio Manganiello
8c41110145
Added bluetooth plugin (see #89 )
2019-12-11 18:05:17 +01:00
Fabio Manganiello
d7266b21e5
Added example config.yaml
2019-12-08 23:21:27 +01:00
Fabio Manganiello
93b378a430
Added examples for config.yaml and platypush.service files
2019-12-08 23:19:49 +01:00