mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 02:10:39 +01:00
Doc: Add Upgrade guide for v2.0.2 -> v2.1.0
This commit is contained in:
33
docs/src/upgrade-guide.md
Normal file
33
docs/src/upgrade-guide.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
Upgrade Guide
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
This doc is about how you should do to upgrade specified version to next version.
|
||||||
|
|
||||||
|
Generally, you should have no extra action to take if you use our docker version
|
||||||
|
if we haven't written notes for it.
|
||||||
|
|
||||||
|
How to get the current version:
|
||||||
|
```
|
||||||
|
git tag
|
||||||
|
```
|
||||||
|
The first line of output is our latest version of code.
|
||||||
|
|
||||||
|
|
||||||
|
# v2.0.2 -> v2.1.0
|
||||||
|
Main breaking changes:
|
||||||
|
|
||||||
|
+ Upgrade `django 1` to django `2.2 LTS`
|
||||||
|
|
||||||
|
How to:
|
||||||
|
|
||||||
|
If you use non-docker version, you should change your web-server config to add a new
|
||||||
|
alias for `media file path` (where to store images).
|
||||||
|
|
||||||
|
Please add following config to your nginx config in `server` block:
|
||||||
|
```
|
||||||
|
location /media {
|
||||||
|
alias /path/to/static/media;
|
||||||
|
expires max;
|
||||||
|
access_log off;
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -20,6 +20,7 @@ nav:
|
|||||||
- Install with Docker: 'install-with-docker.md'
|
- Install with Docker: 'install-with-docker.md'
|
||||||
- Development: 'development.md'
|
- Development: 'development.md'
|
||||||
- Plugin System: 'plugin-system.md'
|
- Plugin System: 'plugin-system.md'
|
||||||
|
- Upgrade Guide: 'upgrade-guide.md'
|
||||||
- Docs: 'docs.md'
|
- Docs: 'docs.md'
|
||||||
- Passwords: 'passwords.md'
|
- Passwords: 'passwords.md'
|
||||||
- Assets: 'assets.md'
|
- Assets: 'assets.md'
|
||||||
|
|||||||
Reference in New Issue
Block a user