Skip to content

Commit 1bdb3f7

Browse files
committed
readme.md: update
1 parent 90d67ee commit 1bdb3f7

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,30 @@ This is a test of creating an Atom package, it provides no tools for helping peo
55

66
## Installation
77

8-
1. Open your terminal
8+
1. Prerequires:
9+
- npm version 3.3.6 (Enter `npm --version` in your terminal to check it)
10+
- Atom version 1.2.0
11+
12+
2. Open your terminal
913
- Windows: Press <kbd>Ctrl</kbd> + <kbd>R</kbd>, enter `cmd` (or `powershell`).
1014
- Mac OS X: Press <kbd>Cmd</kbd> + <kbd>Space</kbd>.
1115
- Linux: Press <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>T</kbd>.
1216

13-
2. Install this package to your Atom
14-
- In your terminal, enter this command:
17+
3. Install this package to your Atom
18+
- In your terminal, enter the following commands:
1519
```bash
16-
apm install https://github.com/ksxatompackages/atom-prime-generator.git
20+
# Step 1: Clone this repository to your computer, suppose that you choose 'path/to/your/directory' as installation directory of this package
21+
cd path/to/your/directory
22+
git clone https://github.com/ksxatompackages/atom-prime-generator.git
23+
# Step 2: Link this package to Atom
24+
cd ./atom-prime-generator # After doing Step 1, a directory named 'atom-prime-generator' which contains this package was created inside 'path/to/your/directory'
25+
apm develop prime-generator . # Create a package named 'prime-generator' to directory '.' which is 'atom-prime-generator' above
26+
apm link .
27+
# Step 3: Install package's dependencies
28+
cd path/to/your/directory
29+
mkdir ./node_modules # If 'node_modules' doesn't exist
30+
cd ./node_modules
31+
git clone https://github.com/ksxnodemodules/ksxnodemodules.git
1732
```
1833
- You need to restart your Atom to use this package.
1934

0 commit comments

Comments
 (0)