diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-03-23 21:15:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 21:15:01 -0700 |
commit | 78d69f50595e058a08f3eaaa47fd7c3745fa1266 (patch) | |
tree | b6a953d28aff98c78eb7c1bcd46fb4df9ae2ceb0 /modern/README.md | |
parent | 48a726021f5d3c741749094891d529ccb3ba59b4 (diff) | |
parent | c7254fc1afe2b0cbf80326671cb5d1eda701e5b3 (diff) | |
download | trackermap-web-78d69f50595e058a08f3eaaa47fd7c3745fa1266.tar.gz trackermap-web-78d69f50595e058a08f3eaaa47fd7c3745fa1266.tar.bz2 trackermap-web-78d69f50595e058a08f3eaaa47fd7c3745fa1266.zip |
Merge pull request #769 from dt-ap/feature/environment
Feature(modern): Use local Environment
Diffstat (limited to 'modern/README.md')
-rw-r--r-- | modern/README.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modern/README.md b/modern/README.md index 6b8edbb3..c6092df7 100644 --- a/modern/README.md +++ b/modern/README.md @@ -4,8 +4,13 @@ It uses [React](https://reactjs.org/), [Material UI](https://material-ui.com/) a To run the project in development mode: -- Make sure you have Traccar back-end running locally on port 8082 +- Make sure you have Traccar backend running. - Install dependencies using `npm install` command - Run development server using `npm start` command +To change the backend server URL: + +- Copy the content of the .env to .env.local (new file) +- Change REACT_APP_URL_NAME to your backend URL. Example: 'example.com:8081' + Project was created using [Create React App](https://github.com/facebook/create-react-app). For more information see [user guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md). |