---
# System prepended metadata

title: Lale Websockets

---

# Lale Websockets 

## Architecture 
![architecture](https://i.imgur.com/IxQLiYI.png)



## Websockets / Lalesocket / Websocket Gateway

### 1.The access information
**dependencies**
* Postgresql 
* Matrix 
* Lale 
* Redis 
* ActiveMQ 
* Message Handler (activmq-listener)

**Development Server** 
* llwssq.lale.im 
* user: jan 
* pass: {contact admin}

**Production Server** 
* llwss.lale.im 
* user: jan 
* pass: {contact admin}

**Location** 
`/home/jan/lalesocket/`

### 2. The path for the config file
`/home/jan/lalesocket/app/app.yml`
### 3.how to restart
Currently `Lalesocket` is running under `screen` 

* Get existing screen 
```
screen -ls
```
* Attach to screen 
```
screen -r {screen_name}
```
* Stop Lalesocket
`CTRL+C`
* Start Lalesocket
```
./run-dev.sh
```

### 4. The path for logging
`/home/jan/lalesocket/logs/`


## Message Handler / ActiceMQ Listener

### 1.The access information
**dependencies**
* Postgresql 
* Matrix 
* Lale 
* ActiveMQ 

**Development Server** 
* llwssq.lale.im 
* user: jan 
* pass: {contact admin}

**Production Server** 
* llwss.lale.im 
* user: jan 
* pass: {contact admin}

**Location** 
`/home/jan/activemq-listener/`

### 2. The path for the config file
`/home/jan/activemq-listener/site_config.py`
### 3.how to restart
Currently `Message handler` is running under `screen` 

* Get existing screen 
```
screen -ls
```
* Attach to screen 
```
screen -r {screen_name}
```
* Stop Message Handler
`CTRL+C`
* Start Message Handler
```
python mq_agent.py
```

### 4. The path for logging
`/home/jan/activemq-listener/logs/`


