Skip to content

Commit

Permalink
Merge pull request #52 from ttngu207/main
Browse files Browse the repository at this point in the history
feat(report): prototyping tables for visualization and rendering on SciViz
  • Loading branch information
jbwallace123 authored Mar 26, 2024
2 parents 5713d6d + 587524b commit c6cd245
Show file tree
Hide file tree
Showing 6 changed files with 321 additions and 251 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,19 @@ Note that the ``Subject`` is the top level directory, and all other data types a
For DLC related projects, the ``dlc_projects`` directory is expected to be in the Inbox directory *not* the subject directory.
```


#### Testing the Data Viewer Locally

1. After making the code changes locally, run the following command to start the application:

```
docker compose -f webapps/sciviz/docker-compose.yaml up -d
```

1. Access the application using the following URL in an incognito window: <https://localhost/login> and log in with your DataJoint Works credentials.
1. When you have finished testing, please ensure to stop and remove the Docker container by running the following command:

```
docker compose -f webapps/sciviz/docker-compose.yaml down
```
3 changes: 1 addition & 2 deletions webapps/sciviz/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#MODE= PROD docker-compose up
#MODE=PROD docker-compose up
#
# Access using fakeservices.datajoint.io
version: '2.4'
Expand All @@ -10,7 +10,6 @@ services:
environment:
PHARUS_SPEC_PATH: /main/specs/sciviz_specsheet.yaml # for dynamic api spec
PHARUS_MODE: ${MODE} # DEV | PROD
env_file: .env
volumes:
- ./sciviz_specsheet.yaml:/main/specs/sciviz_specsheet.yaml:ro #copy the spec over to /main/specs/YOUR_SPEC_NAME
command:
Expand Down
Loading

0 comments on commit c6cd245

Please sign in to comment.