-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: karthik2804 <[email protected]>
- Loading branch information
1 parent
6ac9b48
commit ee18c60
Showing
32 changed files
with
355 additions
and
910 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Spin JS SDK | ||
|
||
This is an SDK for Javascript and Typescript based on [componentize-js](https://github.com/bytecodealliance/ComponentizeJS). | ||
|
||
|
||
## Installing the templates | ||
|
||
[Spin](https://github.com/fermyon/spin) is a prerequisite. | ||
|
||
The templates can be installed with the following command: | ||
|
||
```bash | ||
spin plugin install --update --git https://github.com/fermyon/spin-js-sdk --branch feat/sdk-v2 | ||
``` | ||
|
||
## Creating and Building a new app= | ||
|
||
```bash | ||
spin new -t http-ts hello-world -a | ||
cd hello-world | ||
npm install | ||
spin buiild | ||
``` | ||
|
||
## Running the app | ||
|
||
```bash | ||
spin up | ||
``` | ||
|
||
## Note: Installing the package | ||
|
||
Currently pre-release versionf are published on NPM and can be installed using the following command: | ||
|
||
```bash | ||
npm install @fermyon/spin-sdk@next | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.