Rrr Can you explain how this works?
Also I would like to host my own source. Is your source exact same as core repo or have you modified it?

    datitisev Yeah I have done that. The app works fine, but the link pointing to admin panel, it has original url (openshift subdomain) and not my domain. Also if i open customdomain/admin i am not able to save settings. so i thought its a config file issue?

      martiboy Oh, change the url field in config.php. I'm guessing config.php will be located in www

        martiboy It should be there if it installed correctly... You can try re-creating an app, but only run through the process of setting up the Flarum forum after you have set up the custom domain, and set up Flarum from that custom domain.

        martiboy I see it on the server. However how can i change this in code itself? so that it doesnt revert on next deploy

          martiboy Do git pull from your local version, edit www/config.php, and deploy new changes.

          It says uptodate. Still no config file in local. I think something to do with Vagrant and all.

            martiboy Did you do git pull on local?

            If it still doesn't work, do the following:

            1. Run git fetch origin
            2. Run git merge origin/master
            3. Edit config.php
            4. Commit changes and push

              datitisev Thanks datitisev, But it doesnt work. I think its because the original repo doesnt have the config files. Vagrant generates them probably on the server so i cant get them to local. Doing it from scratch will solve it. however I need to know how this works.

              Rrr
              Please tell me how can I make changes to Flarum codebase and have deployed to an installation created using this quickstart.

              • Rrr replied to this.

                martiboy ssh to your app. rhc ssh myappname And backup config files in /app-root/repo/www to your local repo then push it again.

                  Rrr How can I run it in local for testing? Also How can I run a customized version of flarum instead?

                  23 days later

                  It worked well for me. I just had to create the php-sessions directory on the server to fix a problem of error 500 when I clicked logout.

                  martiboy the config.php file is in the server but not on the git repository.

                  but if you create one, it will be pushed there. I did this to stop it from losing this file on every deploy.

                  8 months later