Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhartigan committed Nov 27, 2021
2 parents 4492e33 + 35e2f91 commit 14ec1eb
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,20 @@ REGION=your_region
```
Valid regions are: `na, eu, latam, br, ap, kr, pbe`

### 6. Set websocket url
In `/client/services/socket.js`, change **line 3** to
```js
export const socket = new WebSocket("ws://localhost:8765");
```

### 7. Start React development server
### 5. Start websocket server and electron app
These commands have been automated in `run_dev.bat`
```cmd
cd client
cd server
python main.py
cd app
npm start
```
The react webserver runs on **port 3000** by default @ `localhost:3000`

### 6. (in separate terminal) Start Python websocket server
Alternatively, you can start only the websocket server and open https://colinhartigan.github.io/valorant-skin-manager/ in your browser
```cmd
cd server
python ./main.py
python main.py
```

`/app` is currently unused - it will eventually be the Electron container

# Contributing
If you have improvements or ideas to improve the design or code of the app, please open a pull request with your changes!

0 comments on commit 14ec1eb

Please sign in to comment.