Martin 0d47ce0d57 Merge pull request #2423 from DzhideX/sumer-update-tokenomics-operation | пре 3 година | |
---|---|---|
.. | ||
.storybook | пре 4 година | |
docker | пре 4 година | |
img | пре 4 година | |
packages | пре 3 година | |
scripts | пре 4 година | |
test | пре 4 година | |
.123trigger | пре 4 година | |
.babelrc.js | пре 4 година | |
.codeclimate.yml | пре 4 година | |
.dockerignore | пре 4 година | |
.editorconfig | пре 4 година | |
.env-example | пре 4 година | |
.eslintignore | пре 4 година | |
.eslintrc.js | пре 4 година | |
.gitignore | пре 4 година | |
.gitlab-ci.yml | пре 4 година | |
.npmignore | пре 4 година | |
.nvmrc | пре 4 година | |
.prettierignore | пре 4 година | |
.stylelintrc | пре 4 година | |
.travis.yml | пре 4 година | |
BOUNTIES.md | пре 4 година | |
CHANGELOG.md | пре 4 година | |
CONTRIBUTING.md | пре 4 година | |
Dockerfile | пре 4 година | |
I18N.md | пре 4 година | |
LICENSE | пре 4 година | |
README.md | пре 3 година | |
babel.config.js | пре 4 година | |
deployment.extras.yml | пре 4 година | |
deployment.template.yml | пре 4 година | |
env.sh | пре 4 година | |
gh-pages-refresh.sh | пре 4 година | |
i18next-scanner.config.js | пре 4 година | |
jest.config.js | пре 4 година | |
lerna.json | пре 4 година | |
package.json | пре 3 година | |
tsconfig.json | пре 3 година | |
tsfmt.json | пре 4 година | |
types.json | пре 4 година | |
yarn.lock | пре 4 година |
A Portal into the Joystream network. Provides a view and interaction layer from a browser.
This can be accessed as a hosted application via https://testnet.joystream.org.
The repo is split into a number of packages, each representing an application. These are -
In addition the following libraries are also included in the repo. These are to be moved to the @polkadot/ui repository once it reaches a base level of stability and usability. (At this point with the framework being tested on the apps above, it makes development easier having it close)
Contributions are welcome!
To start off, this repo (along with others in the @polkadot family) uses yarn workspaces to organise the code. As such, after cloning dependencies should be installed via yarn
, not via npm, the latter will result in broken dependencies.
To get started -
git clone https://github.com/joystream/joystream <optional local path>
yarn
yarn run start
There is a StoryBook implementation, the UI for which can be started with yarn storybook
and then accessed in a browser via http://localhost:3001 (and the server will open a new browser tab by default when it starts).
Story code can be placed anywhere in the packages
directory, and will be detected as long as the file name ends in `.stories.tsx. Stories should be defined in the Component Story Format (CSF) for consistency.
There are several StoryBook addons available, the most useful of which is Knobs, which allows props to be altered in real time.
Note that currently StoryBook only allows for stateless components; it has no connection to polkadot.js or any Substrate node. This means that existing components, which are often tightly coupled with the Polkadot API, cannot be used in storybook.