diff --git a/Projects/Superalgos/UI/Globals/Docs.js b/Projects/Superalgos/UI/Globals/Docs.js index 63b869099..f8953019b 100644 --- a/Projects/Superalgos/UI/Globals/Docs.js +++ b/Projects/Superalgos/UI/Globals/Docs.js @@ -2,7 +2,7 @@ function newSuperalgosGlobalsDocs() { thisObject = { NEW_PARAGRAPH_TEXT: "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode.", DEFAULT_LANGUAGE: 'EN', - DEFAULT_ACTIVE_BRANCH: 'master', + DEFAULT_CURRENT_BRANCH: 'develop', DEFAULT_CONTRIBUTIONS_BRANCH: 'develop', DOCS_SPACE_WIDTH: 900 } diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index 06ee1fcce..74b880fe5 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -89,8 +89,8 @@ function newSuperalgosDocSpace() { if (window.localStorage.getItem('Current Branch') !== null && window.localStorage.getItem('Current Branch') !== undefined && window.localStorage.getItem('Current Branch') !== 'undefined') { UI.projects.superalgos.spaces.docsSpace.currentBranch = window.localStorage.getItem('Current Branch') } else { - window.localStorage.setItem('Current Branch', UI.projects.superalgos.globals.docs.DEFAULT_ACTIVE_BRANCH) - UI.projects.superalgos.spaces.docsSpace.currentBranch = UI.projects.superalgos.globals.docs.DEFAULT_ACTIVE_BRANCH + window.localStorage.setItem('Current Branch', UI.projects.superalgos.globals.docs.DEFAULT_CURRENT_BRANCH) + UI.projects.superalgos.spaces.docsSpace.currentBranch = UI.projects.superalgos.globals.docs.DEFAULT_CURRENT_BRANCH } } diff --git a/README.md b/README.md index 186b3ed8a..262db9ac3 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,12 @@ For example, if your Github username is John, the command will look like this: git clone https://github.com/John/Superalgos ``` +**6.** Change to the Superalgos directory/folder and run this commmand to switch to the develop branch. + +``` +git checkout develop +``` + ## Instalation Notes **1.** You need to make a fork so that you may contribute work. Superalgos is a Community project and you are expected to contribute, like everyone else. You don't need to be a technical person to contribute. Fixing a typo in the docs or translating a paragraph into your native language are valuable contributions too. Superalgos has built-in features that make contributing easy. Help make Superalgos better and Superalgos will better serve you! [Free-riding is not cool](https://en.wikipedia.org/wiki/Free-rider_problem), particularly on free, open-source, Community-driven projects. @@ -84,7 +90,7 @@ git clone https://github.com/John/Superalgos ![Run the system](https://docs.superalgos.org/images/how-to/run-the-system-01.gif) -**1.** To run the Superalgos client, change to the Superalgos directory/folder and type: +**1.** To run the Superalgos client, from inside the Superalgos directory/folder, run this command: ``` node run