mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge pull request #765 from sohitmiglani/gh-pages
Added documentation for installing dependencies and edge case with 'sudo' access in MacOS
This commit is contained in:
commit
e639900fbc
17
README.md
17
README.md
@ -14,6 +14,23 @@ We catalog [select](CONTRIBUTING.md#adding-a-license) open source licenses with
|
||||
|
||||
## Run It On Your Machine
|
||||
|
||||
### Managing Dependencies
|
||||
|
||||
It may be the case that your system doesn't have the required dependencies. You will need `cmake` and `make` installed on your computer.
|
||||
|
||||
For MacOS, use Homebrew to update your dependencies (install Homebrew from <https://brew.sh/>):
|
||||
```bash
|
||||
brew install make cmake
|
||||
```
|
||||
For Linux/Ubuntu, use the `apt-get` tool to install the dependencies:
|
||||
```bash
|
||||
sudo apt-get install make cmake
|
||||
```
|
||||
|
||||
### Installing and Running the tool
|
||||
|
||||
Note that the third command (`./script/bootstrap`) may require you to use `sudo` access for installation. Add `sudo` right before the third command, if need be, but don't use root access.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/github/choosealicense.com.git
|
||||
cd choosealicense.com
|
||||
|
Loading…
x
Reference in New Issue
Block a user