mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 19:28:07 +00:00
Update README to use python virtual env
This commit is contained in:
parent
a795e0d7c1
commit
60701b63ac
@ -76,14 +76,16 @@ Finally these commands will install the server as well as the rest of the depend
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
cd gns3-server-master
|
cd gns3-server-master
|
||||||
|
python3 -m venv venv-gns3server
|
||||||
|
source venv-gns3server/bin/activate
|
||||||
sudo python3 setup.py install
|
sudo python3 setup.py install
|
||||||
gns3server
|
python3 -m gns3server --local
|
||||||
|
|
||||||
To run tests use:
|
To run tests use:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
py.test -v
|
python3 -m pytest tests
|
||||||
|
|
||||||
|
|
||||||
Docker container
|
Docker container
|
||||||
|
Loading…
Reference in New Issue
Block a user