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

INSTALL.md-Suggestions after successful build #13

Closed
noestreich opened this issue Feb 13, 2018 · 3 comments
Closed

INSTALL.md-Suggestions after successful build #13

noestreich opened this issue Feb 13, 2018 · 3 comments

Comments

@noestreich
Copy link

noestreich commented Feb 13, 2018

First, thanks a bunch for the effort you put in this project and for the detailed instructions. It worked out flawlessly for me and will supply my daughter with a great piece of easy-to-use hardware.
Hats off to you.

I just wanted to suggest a couple of minor-changes for the INSTALL.md-Tutorial, on passages which caught me off-guard:

  • Installscript
    I did not see (or better: i missed) the well commented installscripts in /scripts/installscripts/ - maybe they ought be linked in the tutorial for their time-saving nature?

  • Configuring lighttpd
    In the last step of configuring lighttpd, we set the rights for the shared-folder to make sure ist is accessible by the web server. But at this point in the build-process the folder does not yet exist. We are cloning the repo a couple of steps down the line. maybe the chmod-action should be placed under the "Install git"-section?

  • Using a USB soundcard and changing the volume
    I made use of the linked stackexchange-article regarding the configuration of the usb soundcard via ~/.asoundrc.
    It worked without a problem. But after finishing up everything else, i was not able to set the volume via the Web-App.
    I had to edit Line 60 in /htdocs/index.php and replace 'PCM' with 'Speaker' - this might be helpful for others ordering from your proposed shopping-list (like i did). The line in question looks like this now:

    exec("/usr/bin/sudo amixer sset 'Speaker' ".$urlparams['volume']."%");

  • PHP7
    Since we are living in PHP7-Times i used the following Line to install the php-dependencies

    sudo apt-get install lighttpd php7.0-common php7.0-cgi php7.0

    i can report, it all seems to work just fine.

@MiczFlor
Copy link
Owner

Hi, thank you for these suggestions. I'll give them a try and will incorporate them in the scripts. And, true, sometimes there are tweaks that make it into the manual based on memory - never a reliable source ;)

I will leave this open for now, until I included your work.

@MiczFlor
Copy link
Owner

@noestreich I fixed the inconsistency regarding the git install and chmod. I also changed the manual to support "php" in general and not "php5" (what was I thinking :). One thing where I could really benefit from your input:

Using a USB soundcard and changing the volume

If you take a look here: #20 it seems you are not alone with your tweaks. However, your's seems to be more general. Can you create a pull request for your solution (if it works globally) or give me a list of changes that I can add to the manual? Highly appreciated. Thanks.

@MiczFlor
Copy link
Owner

Changed the install back to php5 after all, because the newer version with Stretch is in the making.

MiczFlor pushed a commit that referenced this issue Oct 27, 2020
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

2 participants