File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,30 @@ poetry run mint
194194
195195For testing, you can use Nutshell without a Lightning backend by setting ` MINT_BACKEND_BOLT11_SAT=FakeWallet ` in the ` .env ` file.
196196
197+ ## Redis
198+ To install and run Redis on default port 6379:
199+ ``` bash
200+ sudo apt-get install redis-server
201+ sudo service redis-server start
202+ ```
203+ To confirm it’s running:
204+ ``` bash
205+ sudo systemctl status redis-server
206+ ```
207+ To enable Redis to start on boot:
208+ ``` bash
209+ sudo systemctl enable redis-server
210+ ```
211+ Edit the .env file and uncomment the Redis lines:
212+ ```
213+ # NUT-19 Cached responses
214+ # Enable these settings to cache responses in Redis
215+ #
216+ MINT_REDIS_CACHE_ENABLED=TRUE
217+ MINT_REDIS_CACHE_URL="redis://localhost:6379"
218+ ```
219+
220+
197221
198222# Running tests
199223To run the tests in this repository, first install the dev dependencies with
You can’t perform that action at this time.
0 commit comments