Lesser fork of retropilot-client https://spacecruft.org/retropilot/retropilot-client
 
 
 
 
Go to file
Jeff Moe 6bf83cc053 configure stub 2022-05-03 13:15:44 -06:00
.github Create FUNDING.yml 2022-03-26 21:08:27 +00:00
public dotenv config 2022-01-10 02:16:14 +00:00
src implement login 2022-03-24 00:38:30 +00:00
.browserslistrc create .browserslistrc (and remove support from old browsers...) 2022-01-09 16:54:34 +00:00
.dockerignore add Dockerfile 2022-01-10 19:47:55 +00:00
.env.development fix env/config names 2022-03-21 23:40:12 +00:00
.env.production fix env/config names 2022-03-21 23:40:12 +00:00
.env.test dotenv config 2022-01-10 02:16:14 +00:00
.eslintrc.json implement login 2022-03-24 00:38:30 +00:00
.gitignore add Dockerfile 2022-01-10 19:47:55 +00:00
Dockerfile ci on Dockerfile 2022-01-11 01:17:45 +00:00
LICENSE Initial commit 2021-05-23 23:51:32 +01:00
README-upstream.md mv upstream README 2022-05-02 20:28:15 -06:00
README.md configure stub 2022-05-03 13:15:44 -06:00
nginx.conf add Dockerfile 2022-01-10 19:47:55 +00:00
package-lock.json npm install 2022-05-02 23:45:56 -06:00
package.json chore(package): upgrade dependencies 2022-03-24 15:26:29 +00:00

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.