---
# System prepended metadata

title: CKAN Tips

---

# CKAN Tips


### Creating and Installing Extensions

Follow the same steps as above to open a bash shell in the ckan container and type
`ckan generate extension -o /srv/app/src-extensions`
and follow the prompt create the extension



### CKAN 2.8 commands
* **create test dataset**: paster --plugin=ckan create-test-data -c production.ini
* **Clear solr search index**: paster --plugin=ckan search-index rebuild -c production.ini
* **Connect to database**: psql url