You first need to clone the project on your computer, and to install Node. This project also uses nvm, and yarn.
From the command-line:
cd ~/Development/sites/
git clone [email protected]:afagin/react-d3-charts.git
cd reusable-d3-charts
To install our dependencies:
nvm install
# Then, install all project dependencies.
yarn install
# Optionally, install the git hooks.
./.githooks/deploy
Everything mentioned in the installation process should already be done.
# Start the server and the development tools.
yarn run start
# Builds for production
yarn run build
# Rebuild the styles
yarn run css
# Runs tests.
yarn run test
# Runs linting.
yarn run lint
# From the project's root.
# Make sure your master is up to date.
git fetch --all
git checkout master
git pull
git push origin master
# Then push the new changes
yarn run deploy