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

Make accessible in local network #9

Open
BryanDiLaura opened this issue Nov 28, 2017 · 4 comments
Open

Make accessible in local network #9

BryanDiLaura opened this issue Nov 28, 2017 · 4 comments

Comments

@BryanDiLaura
Copy link
Owner

As things currently are, everything is happening on a single machine through localhost. It would be nice to be able to setup a machine on the local network (i.e. a raspberry pi/old computer) and have it permanently run the server, so it could be accessible more easily.

This should be scoped to just on the local network. Eventually it could be expanded to be over the internet.

@BryanDiLaura
Copy link
Owner Author

BryanDiLaura commented Nov 29, 2017

@BryanDiLaura BryanDiLaura self-assigned this Nov 30, 2017
@BryanDiLaura
Copy link
Owner Author

In order to get this to work, I did the following:

  • Cloned the branch to the raspberry pi
  • Made a static ip. This involved primarily adding an interface in the /etc/dhcpcd.conf file. Details here
  • Modified the python script to listen on the proper port/static ip address.
  • Made the script run on startup by adding sudo python /<path>/<to>/<dir>/playlistChanger.py & to the /etc/rc.local. More details here

@BryanDiLaura
Copy link
Owner Author

This isn't working on startup anymore...idk what is wrong!

@BryanDiLaura BryanDiLaura reopened this Dec 11, 2017
@BryanDiLaura
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant