This repository has been archived by the owner on Aug 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to comply with new demo workflow
- Loading branch information
Showing
5 changed files
with
27 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
# Demonstrations | ||
# Demonstrators | ||
|
||
- [frontend-react] | ||
The purpose of this section is to keep a collection of small-size sample programs to support the review and testing carried out during the evaluation phase of the OSPARC project. | ||
|
||
At this level: | ||
- every folder contains a code sample that demonstrates a technology and/or a programming concept. | ||
- contain some documentation (README.md and Review.md) that describes, explains and discusses the demo. | ||
- every demo must be self-contained (i.e. within a docker) so it can be easily deployed | ||
- can start a demo (or a part of it) with ```cd my-demo/ && make demo``` | ||
|
||
Other facts: | ||
- Built images of some of these demos can be pulled from [itisfoundation@dockerhub](https://hub.docker.com/r/itisfoundation/sandbox/) |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
|
||
demo: | ||
bash ./bin/build | ||
bash ./bin/run | ||
|
||
done: | ||
docker stop demo_docker-node | ||
docker rm demo_docker-node |
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,5 +1,7 @@ | ||
# Dockerized node-js | ||
|
||
Veeeery basic way to create a docker. | ||
|
||
## Setup | ||
``` bash | ||
cd docker-node | ||
|
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,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
IMAGE_NAME=itis/nodejs | ||
IMAGE_NAME=itisfoundation/sandbox:nodejs | ||
|
||
# Build docker | ||
docker build -t ${IMAGE_NAME} . |
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