-
Notifications
You must be signed in to change notification settings - Fork 37
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 #1582 from demergent-labs/http_functionality
Http functionality
- Loading branch information
Showing
30 changed files
with
3,721 additions
and
52 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,7 @@ | ||
To develop locally you will need to do the following: | ||
|
||
1. Set the `AZLE_WASMEDGE_QUICKJS_DIR` environment variable on deploy or test to the location of your locally cloned `wasmedge-quickjs`. | ||
|
||
2. Change the `wasmedge_quickjs` dependency in `azle/rust/canister/Cargo.toml` to the location of your locally cloned `wasmedge-quickjs`. | ||
|
||
3. When you are ready to commit your changes, make sure to update `azle/install_rust_dependencies.sh` with the new git commit hash of the `wasmedge-quickjs` repository, and delete the `wasmedge-quickjs` directory in `~/.config/azle/[version]`. |
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,3 @@ | ||
.azle | ||
.dfx | ||
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,12 @@ | ||
{ | ||
"canisters": { | ||
"express": { | ||
"type": "custom", | ||
"main": "src/backend/index.ts", | ||
"candid": "src/backend/index.did", | ||
"build": "npx azle express", | ||
"wasm": ".azle/express/express.wasm", | ||
"gzip": true | ||
} | ||
} | ||
} |
Oops, something went wrong.