Skip to content

Commit

Permalink
Update README.md to seperate instructions of database setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Ngai committed Jul 31, 2024
1 parent 4c1bca1 commit 43da427
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ pip install -r requirements-pg.txt
cp default.env foo.env
vi foo.env # edit database connection parameters, etc.
. foo.env
```


### Initializing the Database

```bash
# create database
make ENV=foo.env createdb

Expand Down Expand Up @@ -81,10 +86,6 @@ woudc-data-registry admin registry setup
# re-initialize search engine
woudc-data-registry admin search teardown
woudc-data-registry admin search setup

# drop database
make ENV=foo.env dropdb

```

### Running woudc-data-registry
Expand Down

0 comments on commit 43da427

Please sign in to comment.