2018-10-25 17:08:43 -06:00
# Cabana
2021-10-04 10:57:54 -06:00
< img src = "https://cabana.comma.ai/img/cabana.jpg" width = "640" height = "267" / >
2019-06-18 14:57:15 -06:00
2018-10-25 17:08:43 -06:00
## Setup
2017-05-29 17:52:17 -06:00
```bash
2019-09-26 16:22:56 -06:00
yarn
yarn run sass
2017-05-29 17:52:17 -06:00
```
2019-09-26 16:22:56 -06:00
## Development
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
```bash
yarn start
2017-05-29 17:52:17 -06:00
```
2019-09-26 16:22:56 -06:00
## Contributing
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
```bash
yarn run test
2017-05-29 17:52:17 -06:00
```
2019-09-26 16:22:56 -06:00
## Deploy to Production
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
```bash
npm version patch
git push origin master --tags # push version patch
yarn run deploy # builds and deploys to github pages
2017-05-29 17:52:17 -06:00
```
2019-09-26 16:22:56 -06:00
### errors building libusb modules?
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
You can safely ignore those errors even though it returns 1. If you'd like them to go away just because they're annoying, install libusb-dev...
2018-10-25 17:08:43 -06:00
2019-09-26 16:22:56 -06:00
```bash
sudo apt-get install -y libusb-dev libudev-dev
2017-05-29 17:52:17 -06:00
```
2019-09-26 16:22:56 -06:00
or
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
```bash
brew install libusb
2017-05-29 17:52:17 -06:00
```
2019-09-26 16:22:56 -06:00
# Create React App documentation
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
This project was bootstrapped with [Create React App ](https://github.com/facebookincubator/create-react-app ) v1.x, then upgraded to `react-scripts` v3.x and use [craco ](http://npm.im/@craco/craco ) to customize it.
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
You can read the create react app [documentation here ](https://create-react-app.dev/docs/ )
2017-05-29 17:52:17 -06:00
2019-09-26 19:19:26 -06:00
We use craco to easily add [worker-loader ](https://npm.im/worker-loader ).
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
## License
2017-05-29 17:52:17 -06:00
2019-09-26 16:22:56 -06:00
[MIT ](/LICENSE )