Lesser fork of retropilot-client
https://spacecruft.org/retropilot/retropilot-client
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
11 months ago | |
---|---|---|
.github | 12 months ago | |
public | 1 year ago | |
src | 1 year ago | |
.browserslistrc | 1 year ago | |
.dockerignore | 1 year ago | |
.env.development | 1 year ago | |
.env.production | 1 year ago | |
.env.test | 1 year ago | |
.eslintrc.json | 1 year ago | |
.gitignore | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 2 years ago | |
README-upstream.md | 11 months ago | |
README.md | 11 months ago | |
nginx.conf | 1 year ago | |
package-lock.json | 11 months ago | |
package.json | 1 year ago |
README.md
retropilot-client
This is a lesser fork of upstream retropilot-client.
Install
Debian Bullseye (11/stable).
sudo apt update
sudo apt install npm
git clone git@spacecruft.org:retropilot/retropilot-client.git
cd retropilot-client
npm install
Configure
Configure thang.
# Just use .env.local not src/config.js?
#vim src/config.js
vim .env.local
# Perhaps something like:
REACT_APP_PUBLIC_URL=http://192.168.108.129:3000
REACT_APP_API_URL=http://192.168.108.128:8080
REACT_APP_WEBSITE_NAME="SpaceCruft RetroPilot Connect - Development"
Then open firewall on port 3000
if it is to be accessed remotely.
Run
Run thang.
# Development
npm run start
# Testing
npm test
# Production
npm run build
Use
Use thang.
Go here in a browser on the same machine running:
Fix
CORS.
Upstream
This is forked from RetroPilot:
See also README-upstream.md
.