Skip to content

Commit

Permalink
34799 Clean up dina-dpy docs and project structure
Browse files Browse the repository at this point in the history
- Added __init__.py files in directories that need to be included as modules for dina-py project installation so they're included in site-packages
-  Removed keycloak-config.yml
- Running "pip install ." should now correctly include all necessary dina-py directories in the installation for dina_api_client.py to work
  • Loading branch information
johnphan96 committed Aug 27, 2024
1 parent b4e8484 commit 233a4d7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
Empty file added dinapy/client/__init__.py
Empty file.
Empty file added dinapy/entities/__init__.py
Empty file.
3 changes: 1 addition & 2 deletions docs/object-upload-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ C:\Users\<your_account>\dina-py> <venv_name>\Scripts\activate.bat
```
* Make a copy of **keycloak-config-sample.yml** and rename to **keycloak-config.yml** in the root of dina-py directory, open **keycloak-config.yml** using Notepad
* In **keycloak-config.yml**, change **url, keycloak_username, keycloak_password** as needed
* * Make a copy of **dina-api-config-sample.yml** and rename to **dina-api-config.yml** in the root of dina-py directory, open **dina-api-config.yml** using Notepad
* In **keycloak-config.yml**, change **url, keycloak_username, keycloak_password** as needed
* Make a copy of **dina-api-config-sample.yml** and rename to **dina-api-config.yml** in the root of dina-py directory, open **dina-api-config.yml** using Notepad
* From the dina-py directory's root, create a folder <object_upload_dir> containing the files to be uploaded
* From the dina-py directory's root, run the following command to upload all contents in <object_upload_dir>:
```py
Expand Down
7 changes: 0 additions & 7 deletions keycloak-config.yml

This file was deleted.

0 comments on commit 233a4d7

Please sign in to comment.