easy_addon_install_fix_layout_error

This commit is contained in:
dobefore 2021-10-04 13:10:01 +08:00
parent e719131720
commit 0759773a69

View File

@ -63,21 +63,23 @@ Installing
An example configuration with ankisyncd running on the same machine as Nginx
and listening on port `27702` may look like ([entire config template click me](https://github.com/ankicommunity/anki-sync-server/blob/develop/docs/nginx.conf)):
```
server {
listen 27701;
server_name default;
```nginx
server {
listen 27701;
server_name default;
location / {
proxy_http_version 1.0;
proxy_pass http://127.0.0.1:27702/;
}
}
location / {
proxy_http_version 1.0;
proxy_pass http://127.0.0.1:27702/;
}
}
```
5. Run ankisyncd:
$ python -m ankisyncd
```
$ python -m ankisyncd
```
---
@ -89,6 +91,16 @@ Follow [these instructions](https://github.com/ankicommunity/anki-devops-service
Setting up Anki
---------------
### Install addon from ankiweb (support 2.1)
1.on add-on window,click `Get Add-ons` and fill in the textbox with the code `358444159`
2.there,you get add-on `custom sync server redirector`,choose it.Then click `config` below right
3.apply your server ip address
if this step is taken,the following instructions regarding addon setting 2.1( including 2.1.28 and above) can be skipped.
### Anki 2.1.28 and above
Create a new directory in [the add-ons folder][addons21] (name it something