Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-13400: Added introduction to installation section #809

Merged
merged 7 commits into from Mar 26, 2018

Conversation

gandhirajan
Copy link
Contributor

This PR adds basic 'Introduction to Installation" section in 'Installing a development environment' page.


3. Node.js - Needs to be installed in order to install all the required development and javascript dependencies.

4. Make - Needs to be installed in order to build cordova website using Makefile. This installation is optional.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is optional it is not "needed".


1. Ruby - Needs to be installed in order to install and use Jekyll. Jekyll helps in tranforming plain texts into static websites.

2. Python - Needs to be installed in order to invoke simple HTTP server from Makefile.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is only needed for the "simple HTTP server from Makefile" then this is also optional (and should be moved down, after "Make")

@gandhirajan gandhirajan changed the title CB-13275: Added introduction to installation section CB-13400: Added introduction to installation section Mar 22, 2018
The development environment setup requires installation of following softwares:

1. Ruby - Needs to be installed in order to install and use Jekyll. Jekyll helps in tranforming plain texts into static websites.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get rid of the empty lines between list items


1. Ruby - Needs to be installed in order to install and use Jekyll. Jekyll helps in tranforming plain texts into static websites.

2. Node.js - Needs to be installed in order to install all the required development and javascript dependencies.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can put 1. in all lines, numbering will done automatically


3. Make - Can to be installed in order to build cordova website using Makefile. This installation is optional.

4. Python - Can to be installed in order to invoke simple HTTP server from Makefile. This installation is optional.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python should probably also be sorted last in all the instructions below then, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janpio you mean in OS specific installations, python should be last?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would make sense to match the order of "software" to the order here, right? especially if it is optional, it should not really be listed before a really required one, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janpio agree with you Jan. Implemented and checked in.

Copy link
Member

@janpio janpio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Would prefer another review before merge though.

@gandhirajan
Copy link
Contributor Author

@janpio You mean from someone else other than you? or you wanna recheck once more?

@janpio
Copy link
Member

janpio commented Mar 22, 2018

From someone else.

@gandhirajan
Copy link
Contributor Author

@janpio Sure Jan. Will check out. Thanks for your time and support

python --version

The version must be 2.7.x.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: extra empty line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken care

@@ -1,5 +1,14 @@
## Installing

### Introduction to Installation

The development environment setup requires installation of following softwares:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar: "of following softwares" -> "of the following software".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken care


The development environment setup requires installation of following softwares:

1. Ruby - Needs to be installed in order to install and use Jekyll. Jekyll helps in tranforming plain texts into static websites.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about: "Needed by Jekyll. Jekyll is the static site generator that generates the website and docs."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dblotsky sounds good to me. Will make this change.

The development environment setup requires installation of following softwares:

1. Ruby - Needs to be installed in order to install and use Jekyll. Jekyll helps in tranforming plain texts into static websites.
1. Node.js - Needs to be installed in order to install all the required development and javascript dependencies.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about: "Needed by the build tools."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dblotsky I feel its too short and abstract. Any elaborations?
@janpio Your thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janpio @dblotsky Should we elaborate it bit more or just say "Needed by the build tools"? If its clarified, we can close this PR

1. Ruby - Needs to be installed in order to install and use Jekyll. Jekyll helps in tranforming plain texts into static websites.
1. Node.js - Needs to be installed in order to install all the required development and javascript dependencies.
1. Make - Can to be installed in order to build cordova website using Makefile. This installation is optional.
1. Python - Can to be installed in order to invoke simple HTTP server from Makefile. This installation is optional.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar: "Can to be" -> "Can be".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken care

@@ -1,5 +1,14 @@
## Installing

### Introduction to Installation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gandhirajan what is the purpose of this section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dblotsky Its a kind of heads up to the developer about what he/she is gonna install for this environment and why it is required. Jan and Myself have agreed that it will give more insight for the developer as to why he/she is doing it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the headline actually feels pretty redundant - the paragraph can just sit under Installing imo.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janpio Taken care Jan.


1. Download [this installer][python_installer_mac] from [this page][python_downloads].
2. Run the downloaded file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: extra empty line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken care

#### Python

The latest version of CentOS, Fedora, Redhat Enterprise (RHEL) and Ubuntu come with Python 2.7 pre-installed. Else, follow the steps from [this site][python_linux].

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: extra line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken care

1. Ruby - Needed by Jekyll. Jekyll is the static site generator that generates the website and docs.
1. Node.js - Needs to be installed in order to install all the required development and javascript dependencies.
1. Make - Can be installed in order to build cordova website using Makefile. This installation is optional.
1. Python - Can be installed in order to invoke simple HTTP server from Makefile. This installation is optional.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar nitpick: please capitalise proper names for consistency. So:

  • "cordova" -> "Cordova"
  • "javascript" -> "JavaScript"
  • etc.

Also: "using Makefile" should either be "using Make", or "using the Makefile".

@@ -87,6 +86,9 @@ Follow the instructions on [this site][linux_node].

Make is installed by default on Linux.

#### Python
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: for consistency, this should also be Python (optional).

@janpio janpio merged commit e3be037 into apache:master Mar 26, 2018
@gandhirajan gandhirajan deleted the gandhi-install-doc-updates branch March 28, 2018 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants