ruby: add ability to use custom path for files storage

This commit is contained in:
Oleg Sinizin
2021-10-14 12:18:42 +03:00
parent 1db5e865a6
commit da7450c732
2 changed files with 13 additions and 7 deletions

View File

@ -53,10 +53,13 @@ See the detailed guide to learn how to install Document Server [for Windows](htt
Edit the following line:
```
Rails.configuration.storagePath="app_data"
Rails.configuration.urlSite="https://documentserver/"
```
where the **documentserver** is the name of the server with the ONLYOFFICE Document Server installed.
where the **documentserver** is the name of the server with the ONLYOFFICE Document Server installed. Where the **app_data**
is the path where files will created and stored, you can set an absolute path.
Note, on Windows OS use double backslash as separator.
6. Run the **Rails** application: