mirror of
https://github.com/dathere/de-intern-guide.git
synced 2025-12-19 00:39:24 +00:00
chore: add server restart instructions for CKAN setup
This commit is contained in:
parent
787f3623d6
commit
a557f4730d
1 changed files with 19 additions and 0 deletions
|
|
@ -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).
|
||||
|
||||
## 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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue