Welcome, and thank you for your interest in contributing to Bitcart Admin Panel!
Our central contributing guidelines apply to all Bitcart repositories.
Below are the instructions for setting up development environment with Bitcart Admin Panel.
Some general advice can be found in our central contributing guidelines.
Installation instructions:
git clone https://github.com/<<<your-github-account>>>/bitcart-admin.git
cd bitcart-admin
yarn
To launch:
# serve with hot reload at localhost:3000
yarn dev
# build for production and launch server
yarn build
yarn start
From now on, development environment is ready.
Note: we use pre-commit hooks for development, you can install pre-commit and it's hooks like so:
curl https://pre-commit.com/install-local.py | python3 -
pre-commit install
In order to develop the admin panel you need our Merchants API instance running.
There are two possible ways:
- Use our demo (recommended for quick setup to try it out or small fixes, won't work when adding new features with api changes)
export BITCART_ADMIN_API_URL=https://api.bitcart.ai
yarn dev
- Run merchants API locally (recommended to not depend on demo api, when adding new api features and for faster local development in the future). See this guide
Make sure to follow our coding guidelines when developing.
Your contributions to open source, large or small, make great projects like this possible. Thank you for taking the time to contribute.