auto start python env
This commit is contained in:
@@ -70,3 +70,11 @@ In linux, you can use sshfs: https://github.com/libfuse/sshfs
|
|||||||
```mkdir username-rover```
|
```mkdir username-rover```
|
||||||
1. Now we mount the pi's filesystem using sshfs
|
1. Now we mount the pi's filesystem using sshfs
|
||||||
```sshfs username@host-or-ip /home/username ~/username-rover```
|
```sshfs username@host-or-ip /home/username ~/username-rover```
|
||||||
|
|
||||||
|
## How do I get the python virtual environment to start each time
|
||||||
|
1. Edit your `.bashrc` to have this at the end:
|
||||||
|
```
|
||||||
|
if [ -f ~/env/bin/activate ]; then
|
||||||
|
source ~/env/bin/activate
|
||||||
|
fi
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user