Lesser fork of cabana
https://spacecruft.org/retropilot/cabana
bb17a1a7d3
* login with api redirect * fix scss imports * login button styles * keep original path after login * no /cabana base path * small redirect fix * upgrade packages * use github actions for building * CI sass * fix warnings * fix build test |
||
---|---|---|
.github/workflows | ||
public | ||
src | ||
.babelrc | ||
.dockerignore | ||
.editorconfig | ||
.env.development | ||
.env.production | ||
.env.staging | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.nvmrc | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
config.js.template | ||
craco.config.js | ||
jest-puppeteer.build.config.js | ||
jest-puppeteer.config.js | ||
nginx.conf | ||
package.json | ||
sentry.properties | ||
server.js | ||
server.py | ||
yarn.lock |
README.md
Cabana
Setup
yarn
yarn run sass
Development
yarn start
Contributing
yarn run test
Deploy to Production
npm version patch
git push origin master --tags # push version patch
yarn run deploy # builds and deploys to github pages
errors building libusb modules?
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...
sudo apt-get install -y libusb-dev libudev-dev
or
brew install libusb
Create React App documentation
This project was bootstrapped with Create React App v1.x, then upgraded to react-scripts
v3.x and use craco to customize it.
You can read the create react app documentation here
We use craco to easily add worker-loader.