Skip to content
HazardJ edited this page May 1, 2015 · 7 revisions

Make your own CommonAccord. There are currently a few subdomains, including www.mit.commonaccord.org, www.startup.commonaccord.org, www.fr.commonaccord.org.

How:-Heroku-by-MChan

Fork your own and dig in:

 Fork on GitHub the repo at commonaccord.org or any of the other subsites.  If you want to start pretty clean, use [www.github.com/commonaccord/Bare].

 Open an account at Heroku.  [[How:-Heroku-by-MChan]]

 Create an app at Heroku for your CommonAccord app.

 In Heroku 'Deploy'

    connect the Heroku app to your GitHub fork

 enable Automatic Deploys

 On GitHub, change a variable so that your "GitHub" links on CommonAcccord pages go to the right place.  The file "cmacc_helpers.php" has a variable that reads: 

NEW:

$GitHubRepo="commonaccord/Bare";

Change the "commonaccord/Bare/ part so that it points at your fork on GitHub.  


Edit your own CommonAccord:

     On Github:

        From the Edit in GitHub link, make the changes.  
        Save
        Heroku will automatically update if you enabled Automatic Deploys. (It seems to take about a minute or two for Heroku to do its work.)

     From the app:  make the changes, then save them by

             copying the text (not the whole page)

             clicking on the "Edit in GitHub" link

             pasting the text into the GitHub text window

             saving in GitHub.