datitisev martiboy Oh, change the url field in config.php. I'm guessing config.php will be located in www
datitisev 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 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 It says uptodate. Still no config file in local. I think something to do with Vagrant and all.
datitisev martiboy Did you do git pull on local? If it still doesn't work, do the following: Run git fetch origin Run git merge origin/master Edit config.php Commit changes and push
martiboy 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.
martiboy Rrr Please tell me how can I make changes to Flarum codebase and have deployed to an installation created using this quickstart.
Rrr 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.
martiboy Rrr How can I run it in local for testing? Also How can I run a customized version of flarum instead?
candlejack 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.
candlejack 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.