-
-
Notifications
You must be signed in to change notification settings - Fork 793
Add documentation links and update install related guides #1851
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
Merged
pombredanne
merged 8 commits into
aboutcode-org:develop
from
AyanSinhaMahapatra:add-doc-link-to-readme
Jan 29, 2020
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
245e4ab
Add RTD documentation link in README.rst
AyanSinhaMahapatra 79f068d
Update README with Doc Links and Install Methods
AyanSinhaMahapatra cc01e48
Update INSTALL page to recommend Python 3.6 and Restructure
AyanSinhaMahapatra b0fbe1a
Update Index page
AyanSinhaMahapatra 8745ca0
Merge branch 'develop' into add-doc-link-to-readme
AyanSinhaMahapatra 3d39090
Add fixes
AyanSinhaMahapatra 8fc64be
Move Install guides from README.rst to INSTALL.rst
AyanSinhaMahapatra 1f82690
Fix links to Install and Doc contribute guides
AyanSinhaMahapatra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| ============ | ||
| Installation | ||
| ============ | ||
|
|
||
| There are 3 main ways you can `install ScanCode <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html>`_. | ||
|
|
||
| - Installation as an Application: Downloading Releases (Recommended) | ||
| - Installation as a library: via pip | ||
| - Installation from Source Code: Git Clone | ||
|
|
||
| Prerequisites | ||
| ------------- | ||
|
|
||
| Before installing ScanCode make sure you've installed the prerequisites properly. This mainly | ||
| refers to installing the required Python interpreter (Python 3.6 is recommended). | ||
|
|
||
| - For Linux(Ubuntu): ``sudo apt install python3.6-dev bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev`` | ||
| - For MacOS: Install Python 3.6.8 from https://www.python.org/ftp/python/3.6.8/python-3.6.8-macosx10.6.pkg | ||
| - For Windows: Install Python 3.6.8 from https://www.python.org/ftp/python/3.6.8/python-3.6.8.exe | ||
|
|
||
| Refer `Prerequisites <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#prerequisites>`_ for detailed information on all different platforms and Python Versions. | ||
|
|
||
| Installation as an Application : Downloading Releases | ||
| ----------------------------------------------------- | ||
|
|
||
| #. Download and extract the latest ScanCode release from https://github.com/nexB/scancode-toolkit/releases/ | ||
|
|
||
| #. Open a terminal window and then `cd` to the extracted ScanCode directory. | ||
|
|
||
| #. Run this command to self-configure and display the help-text. | ||
|
|
||
| - Linux/Mac : ``./scancode --help`` | ||
| - Windows : ``scancode --help`` | ||
|
|
||
| Installation as a library: via pip | ||
| ---------------------------------- | ||
|
|
||
| #. Create a Python 3.6 Virtual Environment and activate the same:: | ||
|
|
||
| virtualenv -p /usr/bin/python3.6 venv-scancode && source venv-scancode/bin/activate | ||
|
|
||
| #. Run ``pip install scancode-toolkit`` | ||
|
|
||
| Installation from Source Code: Git Clone | ||
| ---------------------------------------- | ||
|
|
||
| #. Download the Source Code or Use Git Clone:: | ||
|
|
||
| git clone https://github.com/nexB/scancode-toolkit.git | ||
| cd scancode-toolkit | ||
|
|
||
| #. You can jump to any checkpoint/Branch/Commit using the following command:: | ||
|
|
||
| git checkout master | ||
|
|
||
| #. Run the Configure Script | ||
|
|
||
| - On Linux/Mac: ``./configure`` | ||
| - On Windows: ``configure`` | ||
|
|
||
|
|
||
| Note the `Commands will vary <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#commands-variation>`_ across different Installation methods and Platforms. | ||
|
|
||
| If this displays the `Help Text <https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/help-text-options.html#help-text>`_, you are all set to start using ScanCode. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this different from the documentation link below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is the Documentation Build (RTD) status, like the code build status often displayed on README's. The ones below are just links. Check it out here