-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #485 from threefoldtech/development_nodejs_examples
add nodejs examples
- Loading branch information
Showing
40 changed files
with
804 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/bin/ | ||
/node_modules/ |
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,17 @@ | ||
current_dir = $(shell pwd) | ||
|
||
install: | ||
yarn add @threefold/pulumi | ||
|
||
run: | ||
rm -rf ${current_dir}/state | ||
mkdir ${current_dir}/state | ||
pulumi login --cloud-url file://${current_dir}/state | ||
pulumi stack init test | ||
pulumi up --yes | ||
|
||
destroy: | ||
pulumi destroy --yes | ||
pulumi stack rm --yes | ||
pulumi logout | ||
rm -rf ${current_dir}/state |
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,2 @@ | ||
name: pulumi-threefold | ||
runtime: nodejs |
Oops, something went wrong.