mirror of https://github.com/cheat/cheat.git
Add a non-root section to the installation guide.
This commit is contained in:
parent
63b0ffba14
commit
1944c1a351
18
README.md
18
README.md
|
@ -47,15 +47,21 @@ to store notes on your favorite cookie recipes, feel free.
|
||||||
|
|
||||||
Installing
|
Installing
|
||||||
----------
|
----------
|
||||||
Do the following to install `cheat`:
|
|
||||||
|
|
||||||
1. Clone this repository and `cd` into it
|
### Installing for all users (requires root)
|
||||||
2. Run `$ sudo python setup.py install`
|
|
||||||
|
|
||||||
The `install` script will copy a python file into `/usr/local/bin/`, and will
|
Clone this repository and `cd` into it, then run
|
||||||
also create a hidden `.cheat` folder (containing the cheatsheet content) in
|
|
||||||
your home directory.
|
|
||||||
|
|
||||||
|
sudo python setup.py install
|
||||||
|
|
||||||
|
### Installing in your home directory
|
||||||
|
|
||||||
|
Clone this repository and `cd` into it, then run
|
||||||
|
|
||||||
|
mkdir -p ~/bin
|
||||||
|
cp cheat ~/bin
|
||||||
|
mkdir ~/.cheat
|
||||||
|
cp cheatsheets/* ~/.cheat
|
||||||
|
|
||||||
Modifying Cheatsheets
|
Modifying Cheatsheets
|
||||||
---------------------
|
---------------------
|
||||||
|
|
Loading…
Reference in New Issue