forked from ITISFoundation/osparc-simcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-getters-for-pricing-plan-and-unit
- Loading branch information
Showing
3 changed files
with
45 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,8 @@ | ||
# director-v2 | ||
|
||
[![image-size]](https://microbadger.com/images/itisfoundation/director-v2 "More on itisfoundation/director-v2.:staging-latest image") | ||
|
||
[![image-badge]](https://microbadger.com/images/itisfoundation/director-v2 "More on director-v2 image in registry") | ||
[![image-version]](https://microbadger.com/images/itisfoundation/director-v2 "More on director-v2 image in registry") | ||
[![image-commit]](https://microbadger.com/images/itisfoundation/director-v2 "More on director-v2 image in registry") | ||
|
||
Director service in simcore stack | ||
|
||
<!-- Add badges urls here--> | ||
[image-size]:https://img.shields.io/microbadger/image-size/itisfoundation/director-v2./staging-latest.svg?label=director-v2.&style=flat | ||
[image-badge]:https://images.microbadger.com/badges/image/itisfoundation/director-v2.svg | ||
[image-version]https://images.microbadger.com/badges/version/itisfoundation/director-v2.svg | ||
[image-commit]:https://images.microbadger.com/badges/commit/itisfoundation/director-v2.svg | ||
<!-------------------------> | ||
|
||
## Development | ||
|
||
Setup environment | ||
|
||
```cmd | ||
make devenv | ||
source .venv/bin/activate | ||
cd services/director-v2 | ||
make install-dev | ||
make info | ||
``` | ||
|
||
Then | ||
|
||
```cmd | ||
make run-devel | ||
``` | ||
|
||
The latter will start the director-v2 service in development-mode together with a postgres db initialized with test data. Open the following sites and use the test credentials ``user=key, password=secret`` to manually test the API: | ||
|
||
- http://127.0.0.1:8000/dev/doc: swagger type of documentation | ||
Since services are often heavily interconnected, it's best to build and run the entire osparc repo in the development mode. | ||
Instruction can be found in the [development build](../../README.md#development-build) section of the main README. |