Skip to content

Commit

Permalink
add initial CKAN steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Nov 11, 2024
1 parent 9192a48 commit 7169961
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions book/tooling/ckan.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,4 +486,34 @@ as follows:
```
you should see 32 rows of tables

## Add CKAN user

```
cd C:/working/ckan-site
C:\working\ckan-venv\Scripts\activate
ckan -c ckan.ini user add admin [email protected]
password: odisckan
```

- promote "admin" user to sysadmin
```
ckan -c C:/working/ckan-site/ckan.ini sysadmin add admin
```
- you should see "Added admin as sysadmin"
![CKAN home](./images/ckan-create-user.png)

## Run CKAN

```
C:\working\ckan-venv\Scripts\activate
ckan -c C:/working/ckan-site/ckan.ini run
```
- should see:
```
2024-11-10 12:11:15,815 INFO [ckan.cli.server] Running CKAN on http://localhost:5000
2024-11-10 12:11:18,107 INFO [ckan.cli] Using configuration file C:\working\ckan-site\ckan.ini
```
- in your browser, goto: http://localhost:5000/
![CKAN home](./images/ckan-initial-home.png)


Binary file added book/tooling/images/ckan-create-user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/tooling/images/ckan-initial-home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7169961

Please sign in to comment.