Skip to content
Snippets Groups Projects
Commit 4e6a01f3 authored by Krisjanis Rijnieks's avatar Krisjanis Rijnieks :lion_face:
Browse files

Add sudo for pythonserver on Linux

parent 1abbce1d
No related branches found
No related tags found
No related merge requests found
......@@ -118,10 +118,16 @@ sudo pip3 install websockets
**Run the server** with the following command. Use `127.0.0.1` as the address and port `1234`. These values you will need to use in the Mods interface later (they are there by default, but in case you want to use your own numbers).
**Mac**
```
python3 py/pythonserial.py 127.0.0.1 1234
```
**Linux (Ubuntu)**
```
sudo python3 py/pythonserial.py 127.0.0.1 1234
```
Server should be running now. The rest of it is running Mods in your browser. Refer to [instructions](https://github.com/fabfoundation/mods#running-mods-locally-in-your-computer) on the community repository of mods.
> Replace the `serial` module with `pyserial` in the community version of mods.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment