chore: add server restart instructions for CKAN setup

This commit is contained in:
rzmk 2025-03-26 17:06:29 -04:00
parent 787f3623d6
commit a557f4730d
No known key found for this signature in database

View file

@ -163,3 +163,22 @@ ckan -c /etc/ckan/default/ckan.ini run
``` ```
Now you should be able to view your locally running CKAN instance at [http://localhost:5000](http://localhost:5000). Now you should be able to view your locally running CKAN instance at [http://localhost:5000](http://localhost:5000).
## When restarting your server
If you shut down your Ubuntu instance and then start it again, you may want to run the following commands to get the CKAN instance running again:
```bash
/etc/init.d/redis-server stop
cd ckan-compose
ahoy up
```
Then run the following (e.g., after you SSH from your preferred terminal):
```bash
cd /usr/lib/ckan/default/
. ./bin/activate
cd src/ckan
ckan -c /etc/ckan/default/ckan.ini run
```