Files
status-python-sdk/clients/push_notification_server.py
T
Nick Ninov 0491c597f7 create_account: store credentials locally
- Initial documentation with how to run the project
- Store `create_account_and_login` credentials locally so they can be reused when messaging
- Script can be ran with arguments
2026-02-24 21:46:56 +02:00

18 lines
541 B
Python

from clients.statusgo_container import PushNotificationServerContainer
class PushNotificationServer:
container = None
def __init__(self, gorush_port=8080):
self.gorush_port = gorush_port
self.container = PushNotificationServerContainer(
identity="3e64442a0ba8a59b4d2dc7385cd4533a10e86dd644e7ec549cb92503787f5282",
gorush_port=self.gorush_port,
)
self.data_dir = self.container.data_dir()
self.container.start_health_monitoring()
assert self.data_dir != ""