Skip to content
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

Add Raspberry PI installation #1562

Merged
merged 7 commits into from
Mar 31, 2022
Merged

Add Raspberry PI installation #1562

merged 7 commits into from
Mar 31, 2022

Conversation

Zedris
Copy link
Contributor

@Zedris Zedris commented Mar 26, 2022

I added a Raspbian (Raspberry Pi) installation section for the readme.
this entire installation took had me nuking my installation about 10-15 times to figure it out so it worked:P
Thanks for all the help Dangle!!

Description

  • Summary of the change / bug fix.
  • Link # issue, if applicable.
  • Screenshot of the feature or the bug before/after fix, if applicable.
  • Relevant motivation and context.
  • List any dependencies that are required for this change.

How has this been tested?

  • Please describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • Please also list any relevant details for your test configuration.

Checklist:

Others

  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My code passes all the checks pylint, flake8, black, ... To speed up development you should run pre-commit install.
  • New and existing unit tests pass locally with my changes. You can test this locally using pytest tests/....

I added a Raspbian (Raspberry Pi) installation section for the readme.
this entire installation took had me nuking my installation about 10-15 times to figure it out so it worked:P
Thanks for all the help Dangle!!
@colin99d colin99d added the docs Code documentation label Mar 27, 2022
@colin99d
Copy link
Contributor

I love this PR! Great work! Unfortunately, I do not have a Raspberry Pi so I cannot test. @DidierRLopes do we have someone with one? Also, this is just icing on top, but we could have a command that automatically activates the environment and opens the terminal. I wrote a command that automatically adds such a command to your .bashrc so that it will work every time. Here is the command: echo "function gst { conda activate gst && python terminal.py }" >> ~/.bashrc.

@DidierRLopes
Copy link
Collaborator

I love this PR! Great work! Unfortunately, I do not have a Raspberry Pi so I cannot test. @DidierRLopes do we have someone with one? Also, this is just icing on top, but we could have a command that automatically activates the environment and opens the terminal. I wrote a command that automatically adds such a command to your .bashrc so that it will work every time. Here is the command: echo "function gst { conda activate gst && python terminal.py }" >> ~/.bashrc.

Thanks for this @Zedris , this is amazing!

@colin99d since this is a living document and it's an installation of Raspberry PI, my first thinking is to go ahead and merge this 😄 If someone else tries the instruction and reports a bug they can let us know and we can improve the documentation based on that.

Thoughts?

@Zedris
Copy link
Contributor Author

Zedris commented Mar 27, 2022

thanks guys i hope I wrote it up correctly I tried to copy the format already present in the readme. yea im a total noob so it took me way longer than i care to admit and alot of troubleshooting help from danglewood on disc to get gst up and running and then jupyter for a sort of headless run. ( i did make it harder for my self trying to run the pi off on an ipad:P) but still graphs wont work unless i run a desktop environment and vnc into it or run the raspberry pi fully. if there was a way to get the graphs to run within the ssh terminal somehow it could be a fully remote gst terminal completely headless on an ipad or screen with just a tiny rpi :D @DidierRLopes @colin99d if anyone does have a rpi to test it as well since i only have one i can make any changes or troubleshoot any issues that come up. I did nuke it and re install it from scratch to test it a few times to make sure it worked. as for the script to enable to conda environment I ran it off my ipad and the ssh application I used has save commands ability so i just saved the entire cd Game/conda activate/py term string line into a single button and just tap that as it also starts jupyter labs for me. but thats also really cool idea if we could make it even more streamlined for a rpi to enable everything automatically from the bash

@colin99d
Copy link
Contributor

Thanks for this @Zedris , this is amazing!

@colin99d since this is a living document and it's an installation of Raspberry PI, my first thinking is to go ahead and merge this 😄 If someone else tries the instruction and reports a bug they can let us know and we can improve the documentation based on that.

Thoughts?

Sounds good to me!

@colin99d colin99d self-requested a review March 27, 2022 18:07
@DidierRLopes DidierRLopes changed the title Update README.md Add Raspberry PI installation Mar 27, 2022
@DidierRLopes
Copy link
Collaborator

@Zedris my frieeeeend! Can you solve the markdown issues so we can merge these instructions? 🙌

@Chavithra Chavithra merged commit 3ae7def into OpenBB-finance:main Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Code documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants