Skip to content

New way to install flow #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Sep 3, 2018
Merged

New way to install flow #62

merged 20 commits into from
Sep 3, 2018

Conversation

lucfisc
Copy link
Collaborator

@lucfisc lucfisc commented Aug 28, 2018

Add a Dockerfile that can run with a desktop on your browser with every flow packages installed and ready to use

Add a Dockerfile that can run with a desktop on your browser with every flow packages installed
@AboudyKreidieh
Copy link
Member

Looks good so far, I'll check out if it works in a bit. A few comments though:

  • The new instructions are just a completely different setup, not a continuation of the previous stuff in the file. So in order to clarify which portion of the setup instructions correspond to what, it may be better to put everything before it under a section called "Local Installation" or something, and add an overview section at the start to clarify what the two different sections are so people don't have to sift through everything to understand.
  • This file is getting really long. Maybe consider adding a contents section at the top?

@eugenevinitsky
Copy link
Member

+1, we should clarify local installation vs. non-local installation and ensure that developers install the local install

@AboudyKreidieh
Copy link
Member

Actually, @lucfisc can u replace the table of contents with this?

.. contents:: Table of contents

@lucfisc
Copy link
Collaborator Author

lucfisc commented Aug 29, 2018

@AboudyKreidieh Done

Setup Instructions
.. contents:: Table of contents

1 - Local Installation
Copy link
Member

Choose a reason for hiding this comment

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

The numbering scheme here is different than the numbering scheme below. Is this correct @lucfisc

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.

so rllib is not installed in a virtual env but rllab is?

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. Rllib is installed in the root environment and works.
For rllab, I need to enter another environment ( flow-rllab) but I am working on a way to have everything set up in the same environment

Copy link
Member

Choose a reason for hiding this comment

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

Okay, should be good to go after this. Can you add the dockerfile that you used to create the docker image? Would be useful to have in the docker folder as a record if we need to remake it!

@eugenevinitsky
Copy link
Member

A few more minor comments, almost there!


2- Remote desktop using Docker (recommended for testing purpose)
a. Installation
b. Notebooks 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.

.. contents: will actually automatically generate the table of contents, so no need for this anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@AboudyKreidieh Deleted it, will know for the next time ! Thanks for your help

====================

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


Remote desktop using Docker for simple utilisation of flow (recommended for testing purpose)
Copy link
Member

Choose a reason for hiding this comment

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

Add a "2." here

Docker file to install the remote desktop
Copy link
Member

@AboudyKreidieh AboudyKreidieh left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for working through the bugs. Just resolve the merge conflict and everything should be ready

@lucfisc
Copy link
Collaborator Author

lucfisc commented Sep 1, 2018

Added the dockerfile, publish the docker to the docker hub. RLLIB is installed, RLLAB is installed , FLOW is installed. Documentation is up to date

kjang96 pushed a commit to kjang96/flow-1 that referenced this pull request Sep 1, 2018
@AboudyKreidieh AboudyKreidieh mentioned this pull request Sep 3, 2018
@eugenevinitsky
Copy link
Member

Thanks! Just to check, @lucfisc , ready to merge?

@lucfisc lucfisc merged commit 99120c8 into flow-project:master Sep 3, 2018
crystalzyan pushed a commit to crystalzyan/flow that referenced this pull request Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants