Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 1.66 KB

README.md

File metadata and controls

70 lines (52 loc) · 1.66 KB

Local Installation instructions

git clone {repo}
yarn install
cp .env.dist .env

In .env setup real values

Linting

To autolint, run

npm run eslint --fix

Build for production

npm run build

Default wallets

You can add the following to the polkadotjs browser extension to use them Steve (citizen) Mnemonic phrase: bargain album current caught tragic slab identify squirrel embark black drip imitate Address: 5HGZfBpqUUqGY7uRCYA6aRwnRHJVhrikn8to31GcfNcifkym

Local development

Start api and auth servers.

API

nvm use 16
PORT=8020 npm run start

SSO

nvm use 16
npm run start

Middleware

Needed for self onboarding process https://github.com/liberland/liberland-blockchain-middleware

Chain explorer

https://github.com/liberland/chain_explorer/ Setup the dev instance as described in README with graphql engine running on port 3000

Blockchain

cargo run --release -- --dev

Liberland frontend

Run the following command from their respective directories

npm run dev

Polkadot explorer

https://polkadot.js.org/apps/#/explorer?rpc=ws://localhost:9944