Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions docs/source/flow_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,39 @@ You may define user-specific config parameters as follows
::

cp flow/core/config.template.py flow/core/config.py # Create template for users using pycharm



====================
VNC desktop using Docker for simple utilisation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think VNC is a standard word, can you add something like "Remote desktop
?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eugenevinitsky Changed

====================
Installation of a vnc desktop to get access to flow quickly

First install docker on https://www.docker.com/

In terminal
::
1° docker pull lucasfischerberkeley/flow_desktop
2° docker run -d -p 5901:5901 -p 6901:6901 -p 8888:8888 lucasfischerberkeley/flow_desktop

Go into your browser ( Firefox, Chrome, Safari)
::
1° Go to http://localhost:6901/?password=vncpassword
2° Go to Applications and open Terminal Emulator
3° For sumo: Write python flow/examples/sumo/sugiyama.py and run it
4° For rllib : Write python flow/examples/rllib/stabilizing_the_ring.py and run it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we set up this desktop to use the single environment, Flow, like we have in the current setup instructions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eugenevinitsky it s possible, just need to install ray in i . I 'll do it asap

5° For rllab : source activate flow-rllab and python flow/examples/rllab/figure_eight.py ( first time, run it twice)

====================
Use that docker container to run jupyter Notebook
====================

In the docker desktop
::
1° Go into Terminal Emulator
2° Run jupyter notebook --NotebookApp.token=admin --ip 0.0.0.0 --allow-root

Go into your browser ( Firefox, Chrome, Safari)
::
1° go to localhost:8888/tree
2° the password is 'admin' and you can run all your notebook and tutorial
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"notebooks and tutorials"

2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
- pybox2d==2.3.1post2
- pygame==1.9.2a0
- h5py==2.8.0
- matplotlib==2.2.2
- matplotlib==2.0.2
- opencv3=3.1.0
- scikit-learn==0.19.1
- mpi4py==2.0.0
Expand Down