liberland / liberland_frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local Installation instructions

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

In .env setup real values

Linting

To autolint, run

yarn run eslint --fix

Build for production

run yarn 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 12
PORT=8020 npm run start

SSO

nvm use 12
npm run start

Web old

npm run start

CDN

PORT=8020 npm run start

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 backend and frontend

Run the following command from their respective directories

nvm use 14.19.3 
yarn run dev

Polkadot explorer

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

About


Languages

Language:JavaScript 89.8%Language:SCSS 10.0%Language:HTML 0.2%