- Node >= 10.14.1 < 12.0.0
- yarn >= 1.15.0 < 2.0.0
- Node >= 10.16.0 < 12.0.0
- Yarn >= 1.15.0 < 2.0.0
git clone https://github.com/singnet/snet-dapp-monorepo.gitcd snet-dapp-monorepoyarn
That's it you're all set up. You can start play with the repo.
cd packages/marketplace-dappcp .env.example .env- Add the appropriate values for the keys in the
.envfile cd ../../yarn start:marketplace
Marketplace is ready for you.
cd packages/rfai-dappcp .env.example .env- Add the appropriate values for the keys in the
.envfile cd ../../yarn start:rfai
cd packages/publisher-dappcp .env.example .env- Add the appropriate values for the keys in the
.envfile cd ../../yarn start:publisher
cd packages/shared- Add the component in the
src/componentsfolder - Add story for it in the
index.stories.jsfile yarn build:shared
Awesome. You can start using your components in any other project. Just import it from the path shared/dist/components/[ComponentName]
Developers try new things and may end up in mess. Don't worry! we got you covered! Just run yarn nuke from the root. Node modules from all the packages will be cleaned and you can start fresh.
If the import of the shared packages is not working
Try runninglerna exec -- yarn link.
This will recreate the symlinks of all the packages in the monorepo.
If lerna is not installed globally, then try yarn run link:all.
This will use the locally installed version of lerna
http://ropsten-publisher.singularitynet.io.s3-website-us-east-1.amazonaws.com/
https://publisher.singularitynet.io/
http://ropsten-stake.singularitynet.io.s3-website-us-east-1.amazonaws.com/landing