This project was bootstrapped with Create React App.
In the root of the project...
run yarn install
This project uses a test app created with create-react-app to load the component. You will need to link the component to that project before running.
- Create a symlink for this project's component:
% yarn link
yarn link v1.22.4
success Registered "@carnegie-mellon-robotics-academy/rah_image_classification_prototype".
- Copy the link from the previous step. Install the test apps node moadules, then link it to the test app
% cd test_app/
% yarn install
% yarn link "@carnegie-mellon-robotics-academy/rah_image_classification_prototype"
- Link the component's react instance to the test app. Note that we use NPM instead of Yarn for this step.
% npm link '../node_modules/react'
- Run yarn watch in the root directory of the project.
% yarn watch
- Open a new terminal tab and change directories to test_app and start the server.
% cd test_app && yarn start
In the project directory, you can run:
Running this script will trigger rebuilds when files in the src directory are changed.