docs: 📝 sonic instructions
This commit is contained in:
parent
3f58232a39
commit
d3d9c4830b
1 changed files with 14 additions and 2 deletions
16
README.md
16
README.md
|
@ -80,8 +80,9 @@ If you have access to a server that supports one of the sources below, I recomme
|
||||||
### 😗 Optional dependencies
|
### 😗 Optional dependencies
|
||||||
|
|
||||||
- [FFmpeg](https://ffmpeg.org/) for video transcoding
|
- [FFmpeg](https://ffmpeg.org/) for video transcoding
|
||||||
- [ElasticSearch](https://www.elastic.co/elasticsearch/) for full-text search
|
- Full text search (choost one of the following)
|
||||||
- OpenSearch/Sonic are not supported as of right now
|
- 🦔 [Sonic](https://crates.io/crates/sonic-server) (highly recommended!)
|
||||||
|
- [ElasticSearch](https://www.elastic.co/elasticsearch/)
|
||||||
- Management (choose one of the following)
|
- Management (choose one of the following)
|
||||||
- 🛰️ [pm2](https://pm2.io/)
|
- 🛰️ [pm2](https://pm2.io/)
|
||||||
- 🐳 [Docker](https://docker.com)
|
- 🐳 [Docker](https://docker.com)
|
||||||
|
@ -121,6 +122,17 @@ Assuming you set up PostgreSQL correctly, all you have to run is:
|
||||||
psql postgres -c "create database calckey with encoding = 'UTF8';"
|
psql postgres -c "create database calckey with encoding = 'UTF8';"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In Calckey's directory, fill out the `db` section of `.config/default.yml` with the correct information, where the `db` key is `calckey`.
|
||||||
|
|
||||||
|
## 🦔 Set up search
|
||||||
|
|
||||||
|
Follow sonic's [installation guide](https://github.com/valeriansaliou/sonic#installation)
|
||||||
|
|
||||||
|
If you use IPv4: in Sonic's directory, edit the `config.cfg` file to change `inet` to `"0.0.0.0:1491"`.
|
||||||
|
|
||||||
|
In Calckey's directory, fill out the `sonic` section of `.config/default.yml` with the correct information.
|
||||||
|
|
||||||
|
|
||||||
## 💅 Customize
|
## 💅 Customize
|
||||||
|
|
||||||
- To add custom CSS for all users, edit `./custom/assets/instance.css`.
|
- To add custom CSS for all users, edit `./custom/assets/instance.css`.
|
||||||
|
|
Loading…
Reference in a new issue