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

Feature: Upgrade AmpliPi's directory structure for debian releases #94

Closed
2 of 5 tasks
linknum23 opened this issue Mar 19, 2021 · 1 comment
Closed
2 of 5 tasks
Assignees
Milestone

Comments

@linknum23
Copy link
Contributor

linknum23 commented Mar 19, 2021

  • Update AmpliPi layout, from /home/pi expectations to more standard linux layouts /etc/amplipi.conf , /var/web/amplipi, /usr/local/lib/amplipi, /usr/local/bin/amplipi,
    • Decouple stream scripts from /home/pi (all other python is relative)
    • Add memory drive for /var/web/amplipi/generated (requires Use a RAM disk for volatile configuration #76)
    • Make amplipi able to be used and developed on using the simpler base directory structure (you should be able to run the debug webserver (with real streams if you want) from a git checkout)
    • Add /etc/amplpi.conf config file that is checked when a local config file is not found

Layout:

config/house.json -> /etc/amplipi.conf # includes hints for this directory layout (stop saving this all the time)
streams -> /usr/loca/bin/amplipi/streams # streaming scripts
amplipi -> /usr/local/lib/amplipi
web -> /var/web/amplipi

We still need to figure out where to put documentation, and source code

@linknum23 linknum23 self-assigned this Mar 19, 2021
@linknum23 linknum23 added this to the 0.5 milestone Mar 19, 2021
@linknum23
Copy link
Contributor Author

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

No branches or pull requests

1 participant