To begin with, you will need the compiled jar file. You can either download it from the [release](https://git.arcusiridis.com/nova/Chatto/releases) releases section of this repo, or by building it from source.
To begin with, you will need the compiled jar file. You can either download it from the [releases](https://git.arcusiridis.com/nova/Chatto/releases) section of this repo, or by building it from source.
On linux systems, place the jar file in a directory such as /var/lib/chatto or /var/www/chatto.
Place the below application.properties config file in the same directory -
```properties
chatto.datasource.username=chatto_user
chatto.datasource.password=test
chatto.datasource.database-name=chatto_db
chatto.datasource.username=chatto_user
chatto.datasource.password=test
chatto.datasource.database-name=chatto_db
chatto.datasource.url=localhost
chatto.datasource.port=3306
chatto.datasource.params=useSSL=false
@ -76,15 +76,20 @@ server {
```
Place the file in ```bash /etc/nginx/sites-available/``` (depending on your linux distro this may differ).
Now make a symlink - ```bash sudo ln -s /etc/nginx/sites-available/chatto /nginx/sites-enabled```
verify configration - ```bash sudo nginx -t```
and restart nginx - ```bash sudo systemctl restart nginx```