Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Rachel <rachblondon@gmail.com>
  • Loading branch information
Tschakki and RachBLondon committed Aug 14, 2019
1 parent 9c19766 commit d37da72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tutorials/cashback.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ npm install --save lisk-sdk # install lisk-sdk as dependency for the node server
npm install --save @liskhq/lisk-validator @liskhq/lisk-cryptography @liskhq/lisk-transactions @liskhq/lisk-constants # install lisk-elements dependencies for the client side scripts
```

> Mind, that you need to create a database before.
> If you haven't already, you need to create a database before you start.
> The default database name is lisk_dev, so for the development purposes, a command createdb lisk_dev will set you up.
> The default database user and password are lisk and password, they can be both changed in the configuration of Lisk SDK.
Expand Down
8 changes: 4 additions & 4 deletions tutorials/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ npm install --save lisk-sdk # install lisk-sdk as dependency for the node side
npm install --save @liskhq/lisk-validator @liskhq/lisk-cryptography @liskhq/lisk-transactions @liskhq/lisk-constants # install lisk-elements dependencies for the client side scripts
```

> Mind, that you need to create a database before.
> If you haven't already, you need to create a database before.
> The default database name is `lisk_dev`, so for the development purposes, a command `createdb lisk_dev` will set you up.
> The default database user and password are `lisk` and `password`, they can be both changed in the configuration of Lisk SDK.
Expand Down Expand Up @@ -90,7 +90,7 @@ To do this, open the file `index.js` that was created with the command above, an
//index.js
const { Application, genesisBlockDevnet, configDevnet } = require('lisk-sdk'); // require application class, the default genesis block and the default config for the application

configDevnet.app.label = 'helloWorld-blockchain-app'; // change the label of the app
configDevnet.app.label = 'hello-world-blockchain-app'; // change the label of the app
//configDevnet.components.storage.user = '<username>'; // If you gave a different user than 'lisk' access to the database lisk_dev, you need to update the username in the config
configDevnet.components.storage.password = 'password'; // replace password with the password for your database user

Expand Down Expand Up @@ -351,7 +351,7 @@ Add the new transaction type to your application, by registering it to the appli
const { Application, genesisBlockDevnet, configDevnet} = require('lisk-sdk'); // require application class, the default genesis block and the default config for the application
const HelloTransaction = require('./hello_transaction'); // require the newly created transaction type 'HelloTransaction'

configDevnet.app.label = 'helloWorld-blockchain-app'; // change the label of the app
configDevnet.app.label = 'hello-world-blockchain-app'; // change the label of the app
//configDevnet.components.storage.user = '<username>'; // If you gave a different user than 'lisk' access to the database lisk_dev, you need to update the username in the config
configDevnet.components.storage.password = 'password'; // replace password with the password for your database user

Expand Down Expand Up @@ -584,7 +584,7 @@ To run the script from remote, change the configuration before creating the `App
const { Application, genesisBlockDevnet, configDevnet} = require('lisk-sdk'); // require application class, the default genesis block and the default config for the application
const HelloTransaction = require('./hello_transaction'); // require the newly created transaction type 'HelloTransaction'

configDevnet.app.label = 'helloWorld-blockchain-app'; // change the label of the app
configDevnet.app.label = 'hello-world-blockchain-app'; // change the label of the app
//configDevnet.components.storage.user = '<username>'; // If you gave a different user than 'lisk' access to the database lisk_dev, you need to update the username in the config
configDevnet.components.storage.password = 'password'; // replace password with the password for your database user

Expand Down

0 comments on commit d37da72

Please sign in to comment.