Skip to content

Commit

Permalink
docs: update README with cli info
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Oct 4, 2024
1 parent 49c6ec8 commit 68e6f07
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ alembic upgrade heads
The alembic migrations live in the `aim/digifeeds/database/migrations` folder.

#### Web API for the Database
To run the api:
The docker compose `api` service runs the application on port 8000.

In the `/app` folder of the container run:
```
uvicorn aim.digifeeds.database.main:app --host 0.0.0.0 --reload
```
Assuming docker compose is up for the `aim-py` repository, in the browser go to:
http://localhost:8000/docs to work with the API.

#### CLI

In the browser go to: http://localhost:8000/docs to work with the API.
The digifeeds CLI is in the file `aim/cli/digifeeds.py` It has a mix a database
operations and application operations.

## Tests

Expand Down

0 comments on commit 68e6f07

Please sign in to comment.