mirror of
https://github.com/bigchaindb/site.git
synced 2025-02-14 21:10:28 +01:00
Updated 'Get Started' page for new testnet
This commit is contained in:
parent
19ac5b1200
commit
548dfebbad
@ -5,7 +5,7 @@
|
|||||||
name: BigchainDB
|
name: BigchainDB
|
||||||
description: 'The blockchain database.'
|
description: 'The blockchain database.'
|
||||||
url: https://www.bigchaindb.com
|
url: https://www.bigchaindb.com
|
||||||
bigchaindb_api_url: https://test.bigchaindb.com
|
bigchaindb_api_url: https://test1.testnet2.com
|
||||||
|
|
||||||
# set to `true` to make hiring link appear in main menu
|
# set to `true` to make hiring link appear in main menu
|
||||||
hiring: true
|
hiring: true
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
//=include bigchain/tab.js
|
//=include bigchain/tab.js
|
||||||
//=include bigchain/newsletter.js
|
//=include bigchain/newsletter.js
|
||||||
|
|
||||||
const bigchaindbUrl = 'https://test.bigchaindb.com'
|
const bigchaindbUrl = 'https://test1.testnet2.com'
|
||||||
const proxyUrl = 'https://getstarted.bigchaindb.com'
|
|
||||||
const apiPath = '/api/v1/'
|
const apiPath = '/api/v1/'
|
||||||
|
|
||||||
jQuery(function ($) {
|
jQuery(function ($) {
|
||||||
@ -81,7 +80,7 @@ window.addEventListener('DOMContentLoaded', function domload(event) {
|
|||||||
window.removeEventListener('DOMContentLoaded', domload, false)
|
window.removeEventListener('DOMContentLoaded', domload, false)
|
||||||
|
|
||||||
const driver = window.BigchainDB
|
const driver = window.BigchainDB
|
||||||
const API_PATH = proxyUrl + apiPath
|
const API_PATH = bigchaindbUrl + apiPath
|
||||||
|
|
||||||
const postButton = document.getElementById('post')
|
const postButton = document.getElementById('post')
|
||||||
const postButtonText = postButton.innerText
|
const postButtonText = postButton.innerText
|
||||||
|
@ -23,16 +23,16 @@ server:
|
|||||||
network:
|
network:
|
||||||
pretitle: "Managed"
|
pretitle: "Managed"
|
||||||
title: "The BigchainDB Test Network"
|
title: "The BigchainDB Test Network"
|
||||||
version_title: "Test Network is currently running on BigchainDB "
|
version_title: "The BigchainDB Test Network is currently running on BigchainDB "
|
||||||
description: "No installation needed. Sign up and connect instantly, we will handle running a BigchainDB network for you."
|
description: "No installation needed. We handle running a BigchainDB network for you."
|
||||||
button: "Sign up"
|
button: "Get the URLs"
|
||||||
link: "https://testnet.bigchaindb.com"
|
link: "https://info.testnet2.com"
|
||||||
bdb:
|
bdb:
|
||||||
pretitle: "Self-Hosted"
|
pretitle: "Self-Hosted"
|
||||||
title: "BigchainDB Server"
|
title: "BigchainDB Server"
|
||||||
description: "If you want to run your own BigchainDB instance, you can either get set up on Linux or with Docker on any system."
|
description: "If you want to deploy and run your own BigchainDB node or network, you can."
|
||||||
button: "Install BigchainDB Server"
|
button: "Deploy a BigchainDB node"
|
||||||
link: "https://docs.bigchaindb.com/projects/server/en/latest/quickstart.html"
|
link: "http://docs.bigchaindb.com/projects/server/en/latest/simple-deployment-template/index.html"
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
|
@ -86,10 +86,7 @@ redirect_from:
|
|||||||
from bigchaindb_driver import BigchainDB
|
from bigchaindb_driver import BigchainDB
|
||||||
from bigchaindb_driver.crypto import generate_keypair
|
from bigchaindb_driver.crypto import generate_keypair
|
||||||
|
|
||||||
bdb = BigchainDB(
|
bdb = BigchainDB('{{ site.bigchaindb_api_url }}')
|
||||||
'{{ site.bigchaindb_api_url }}',
|
|
||||||
headers={'app_id': 'Get credentials from testnet.bigchaindb.com',
|
|
||||||
'app_key': 'by signing up and going to your Applications screen'})
|
|
||||||
alice = generate_keypair()
|
alice = generate_keypair()
|
||||||
tx = bdb.transactions.prepare(
|
tx = bdb.transactions.prepare(
|
||||||
operation='CREATE',
|
operation='CREATE',
|
||||||
@ -109,10 +106,7 @@ bdb.transactions.send(signed_tx)
|
|||||||
const driver = require('bigchaindb-driver')
|
const driver = require('bigchaindb-driver')
|
||||||
|
|
||||||
const alice = new driver.Ed25519Keypair()
|
const alice = new driver.Ed25519Keypair()
|
||||||
const conn = new driver.Connection(
|
const conn = new driver.Connection('{{ site.bigchaindb_api_url }}/api/v1/')
|
||||||
'{{ site.bigchaindb_api_url }}/api/v1/',
|
|
||||||
{ app_id: 'Get credentials from testnet.bigchaindb.com',
|
|
||||||
app_key: 'by signing up and going to your Applications screen' })
|
|
||||||
const tx = driver.Transaction.makeCreateTransaction(
|
const tx = driver.Transaction.makeCreateTransaction(
|
||||||
{ message: 'Blockchain all the things!' },
|
{ message: 'Blockchain all the things!' },
|
||||||
null,
|
null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user