Document file system usage

Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/28.
This commit is contained in:
Luke Murphy 2021-01-17 20:20:56 +01:00
parent 15e06852de
commit b89148b3cc
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -33,6 +33,7 @@ on and are still going on in
- [Using the command-line interface](#using-the-command-line-interface) - [Using the command-line interface](#using-the-command-line-interface)
- [Using the environment](#using-the-environment) - [Using the environment](#using-the-environment)
- [Persistent storage](#persistent-storage) - [Persistent storage](#persistent-storage)
- [File system](#file-system)
- [Redis key/value storage](#redis-key-value-storage) - [Redis key/value storage](#redis-key-value-storage)
- [Loading Plugins](#loading-plugins) - [Loading Plugins](#loading-plugins)
- [Serving HTTP](#serving-http) - [Serving HTTP](#serving-http)
@ -228,6 +229,13 @@ deployments.
### Persistent storage ### Persistent storage
#### File system
Just use your local file system as you would in any other Python script. Please
note that when you deploy your bot, you might not have access to this local
filesystem in the same location. For remote server deployments
[Redis](#redis-key-value-storage) can be more convenient.
#### Redis key/value storage #### Redis key/value storage
`xbotlib` supports using [Redis](https://redis.io/) as a storage back-end. It `xbotlib` supports using [Redis](https://redis.io/) as a storage back-end. It