I have been trying to install a dev-master version of Flarum, but it never seems to work. I tried the method on the contributing guide in github, but that didn't work either. Is there a specific guide somewhere with step-by-step instructions? I am running Ubuntu 16.04

    Frink this is the procedure:

    git clone git@github.com:flarum/flarum.git <target directory>
    cd <target directory>

    Replace the contents of the composer.json with this:

    {
        "name": "flarum/flarum",
        "description": "Delightfully simple forum software.",
        "type": "project",
        "keywords": ["forum", "discussion"],
        "homepage": "http://flarum.org",
        "license": "MIT",
        "authors": [
            {
                "name": "Toby Zerner",
                "email": "toby.zerner@gmail.com"
            },
            {
                "name": "Franz Liedke",
                "email": "franz@develophp.org"
            }
        ],
        "support": {
            "issues": "https://github.com/flarum/core/issues",
            "source": "https://github.com/flarum/flarum",
            "docs": "http://flarum.org/docs"
        },
        "require": {
            "flarum/core": "dev-master as 0.1",
            "flarum/akismet": "dev-master as 0.1",
            "flarum/approval": "dev-master as 0.1",
            "flarum/auth-facebook": "dev-master as 0.1",
            "flarum/auth-github": "dev-master as 0.1",
            "flarum/auth-twitter": "dev-master as 0.1",
            "flarum/bbcode": "dev-master as 0.1",
            "flarum/emoji": "dev-master as 0.1",
            "flarum/lang-english": "dev-master as 0.1",
            "flarum/flags": "dev-master as 0.1",
            "flarum/likes": "dev-master as 0.1",
            "flarum/lock": "dev-master as 0.1",
            "flarum/markdown": "dev-master as 0.1",
            "flarum/mentions": "dev-master as 0.1",
            "flarum/pusher": "dev-master as 0.1",
            "flarum/statistics": "dev-master as 0.1",
            "flarum/sticky": "dev-master as 0.1",
            "flarum/subscriptions": "dev-master as 0.1",
            "flarum/suspend": "dev-master as 0.1",
            "flarum/tags": "dev-master as 0.1",
            "flagrow/split": "dev-master as 99",
            "flagrow/bazaar": "dev-master as 99",
            "flagrow/upload": "dev-master as 99"
        },
        "config": {
            "preferred-install": "dist"
        },
        "minimum-stability": "beta",
        "prefer-stable": true,
        "repositories": {
          "workbench": {
            "type": "path",
            "url": "workbench/*/"
          }
        }
    }

    Then run:

    composer update

    Please understand I've left some flagrow packages in so you see what I did to include them from the workbench directory. Remove these were needed and replace one to suit your needs.

    This assumes you have a workbench set up.

    ONLY INSTALL DEV-MASTER PACKAGES FOR DEVELOPMENT! IT'S HIGHLY UNSTABLE AND VOLATILE.

      luceos Ok, thanks! I am looking to set up my extension for use with beta8. I will try this this afternoon, got to go to school. Yesterday was a snow day, but today isn't ?

      Would I browse to the public directory when accessing the forum?

        Frink you'd need to reconfigure your forum to serve the public directory instead of the flarum root.

          luceos I am getting an HTTP Error 500 when I try to access the http://dev.flarum/flarum/public/ (that is a local domain). In the console, I see dev.flarum/ Failed to load resource: the server responded with a status of 500 (Internal Server Error)

          php flarum info returns

          PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Illuminate\Database\Connectors\ConnectionFactory::make() must be of the type array, null given, called in /var/www/flarumdev/flarum/vendor/flarum/core/src/Database/DatabaseServiceProvider.php on line 28 and defined in /var/www/flarumdev/flarum/vendor/illuminate/database/Connectors/ConnectionFactory.php:43
          Stack trace:
          #0 /var/www/flarumdev/flarum/vendor/flarum/core/src/Database/DatabaseServiceProvider.php(28): Illuminate\Database\Connectors\ConnectionFactory->make(NULL)
          #1 /var/www/flarumdev/flarum/vendor/illuminate/container/Container.php(749): Flarum\Database\DatabaseServiceProvider->Flarum\Database\{closure}(Object(Flarum\Foundation\Application), Array)
          #2 /var/www/flarumdev/flarum/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build(Object(Closure))
          #3 /var/www/flarumdev/flarum/vendor/illuminate/container/Container.php(586): Illuminate\Container\Container->resolve('flarum.db', Array)
          #4 /var/www/flarumdev/flarum/vendor/flarum/core/s in /var/www/flarumdev/flarum/vendor/illuminate/database/Connectors/ConnectionFactory.php on line 43
          

          Is my PHP version out of date? php -v returns

          PHP 7.0.25-0ubuntu0.16.04.1 (cli) ( NTS )
          Copyright (c) 1997-2017 The PHP Group
          Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
              with Zend OPcache v7.0.25-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
          

          apache2 -v returns

          Server version: Apache/2.4.18 (Ubuntu)
          Server built:   2017-09-18T15:09:02
          

          Any ideas as to what's up?

            it should be at the root of the install (alongside the public folder.

            Did you reach the installation step ? It might not yet be there if you didn't do the install step. Strange to get that error if no config file exists though.

              clarkwinkelmann It never let me get to the install step, and there is no config.php file..... what page would I visit to get to the installer?

              Frink please.. As said countless times before, beta 8 is volatile and unstable. There's absolutely no reason to mention a core developer like this.

              I'm sorry, it really seems like I'm just bashing around on the same person, but that might be related to having to repeat the same thing every time.

              If you encounter an issue with the latest dev-master, check the github repository for a related issue. If it does not exist, feel free to open one by providing at least the steps to reproduce.

              flarum/core1370 seems I reported exactly the same issue 20 days ago.

              Frink please note that we don't provide support for issues with dev-master or any unreleased version of Flarum. If you find bugs or issues that remain unsolvable, I suggest you wait for a more stable commit of dev-master or for the next beta release.

              The confusion may be; or I may be mistaken, that discuss.flarum.org is using Master and it works.
              Also, if you reply to a question, its safe to assume someone is going to @you when they run into complications.
              Don't take it personally Sir Luceos, everyone prefers top-tier support ?

                0E800 it works because it has the direct attention of Toby. Obviously it would be impossible for our core devs to give individual attention to anyone who wanted to run dev-master, making Flarum.org the only such place where dev-master gets support.

                Shall I wait for another commit, or should I try debugging and fixing the error (jerry-rigging) it myself?

                  Frink

                  I think you should try to make it work without the /public first.

                    0E800 the issue is unrelated to that, it's related to the database being instantiated in a scenario where the config wasn't available yet.

                    Frink I suggest waiting for Franz (who was assigned this) to complete the issue, feel free to subscribe to t on github so you get notifications about it. Although from my reported issue it seems the web install wizard should still work.