Lesser fork of retropilot-client
https://spacecruft.org/retropilot/retropilot-client
c685ee6de3 | ||
---|---|---|
.github | ||
public | ||
src | ||
.browserslistrc | ||
.dockerignore | ||
.env.development | ||
.env.production | ||
.env.test | ||
.eslintrc.json | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
nginx.conf | ||
package-lock.json | ||
package.json |
README.md
retropilot-client
React client for RetroPilot server
Environment Variables
The app configuration (see src/config.js
) is loaded from environment variables. A different
environment can be configured for development (npm run start
), testing (npm test
) and
production (npm run build
).
To override the environment variables, create a .env.local
file. You can also override the
variables for development, testing and production independently (.env.development
, .env.test.local
and .env.production.local
files). Set the API_URL
to the address of the RetroPilot server, such as http://localhost:8080
or https://api.retropilot.local
.