Using Mac Terminal to run the PHP installer

patrickholbrook's Avatar

patrickholbrook

17 Dec, 2011 10:23 PM

Hi,
I am really thrilled about CASH.
I do a lot of HTML/CSS but seldom use the terminal to make shell connections, etc. So I'm a little confused about how to run the PHP installer through the command line.
After I made my shell connection, I typed in
php public_html/cashmusic-DIY-e13816d/installers/php/dev_installer.php
But then nothing really happened except it gave me the html content of the installer ("Content-type: text/html
Please run installer from the command line. usage:
> php installers/php/dev_installer.php")
Yes, I am developing live (I don't really care if people happen to see the site in progress, and I don't have Mac 10.5 to develop locally on).
Is there something I am missing?
Thanks!

  1. Support Staff 1 Posted by Jesse von Doom on 19 Dec, 2011 07:52 AM

    Jesse von Doom's Avatar

    Hi Patrick,

    The dev installer is really meant more for folks who clone the repo
    and are working locally. They've got all the files so it sets things
    up for them in place and they're good to go. If you're working on a
    live server it's much easier to run the web installer here:

    https://github.com/cashmusic/DIY/downloads

    All you need to do is upload that single php file and then visit it in
    a browser — it'll copy down the latest stable files and set up a
    sqlite database and demos for you. (The installer in that zip is
    tested but older. It's had issues with a few hosts. The new version in
    the master branch fixes those, but hasn't been tested live yet...)

    Let me know if you have any issues with the web installer,
    jesse

  2. 2 Posted by patrickholbrook on 31 Dec, 2011 05:06 AM

    patrickholbrook's Avatar

    That installer worked great! This is soooo cool. Thanks!

  3. Jesse von Doom closed this discussion on 05 Feb, 2013 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac