mirror of https://github.com/certusone/oyster.git
Update push instructions for prod
This commit is contained in:
parent
329a13af21
commit
3bc0403247
|
@ -1 +1,4 @@
|
|||
gcloud functions deploy uploadFile --runtime nodejs12 --trigger-http --allow-unauthenticated
|
||||
gcloud functions deploy uploadFile --runtime nodejs12 --trigger-http --allow-unauthenticated
|
||||
|
||||
To deploy to prod, change function name to uploadFileProd in index.js, and CLUSTER url to mainnet, then
|
||||
run above with uploadFileProd
|
|
@ -21,6 +21,7 @@ const FOLDER_NAME = 'arweave';
|
|||
const ARWEAVE_KEYNAME = 'arweave.json';
|
||||
const SOLANA_KEYNAME = 'arweave-sol-container.json';
|
||||
const CLUSTER = 'https://devnet.solana.com';
|
||||
//const CLUSTER = 'https://api.mainnet-beta.solana.com';
|
||||
const SYSTEM = '11111111111111111111111111111111';
|
||||
const MEMO = 'MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr';
|
||||
const KEYHOLDER = {};
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "nodejs-docs-samples-functions-http",
|
||||
"name": "arweave-push",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
"author": "Google Inc.",
|
||||
"author": "Solana Labs",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
|
||||
"url": "https://github.com/solana-labs/oyster.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
|
|
Loading…
Reference in New Issue