Browse Source

revert to usig npm as preferred installation method

Manuel Araoz 8 years ago
parent
commit
7826fddba7
1 changed files with 4 additions and 3 deletions
  1. 4 3
      README.md

+ 4 - 3
README.md

@@ -22,19 +22,20 @@ truffle init
 
 
 To install the OpenZeppelin library, run:
 To install the OpenZeppelin library, run:
 ```sh
 ```sh
-truffle install zeppelin
+npm install zeppelin-solidity
 ```
 ```
 
 
-After that, you'll get all the library's contracts in the `installed_contracts` folder. You can use the contracts in the library like so:
+After that, you'll get all the library's contracts in the `node_modules/zeppelin-solidity/contracts` folder. You can use the contracts in the library like so:
 
 
 ```js
 ```js
-import 'zeppelin/ownership/Ownable.sol';
+import 'zeppelin-solidity/contracts/ownership/Ownable.sol';
 
 
 contract MyContract is Ownable {
 contract MyContract is Ownable {
   ...
   ...
 }
 }
 ```
 ```
 
 
+
 ## Security
 ## Security
 OpenZeppelin is meant to provide secure, tested and community-audited code, but please use common sense when doing anything that deals with real money! We take no responsibility for your implementation decisions and any security problem you might experience.
 OpenZeppelin is meant to provide secure, tested and community-audited code, but please use common sense when doing anything that deals with real money! We take no responsibility for your implementation decisions and any security problem you might experience.