Skip to content

Commit 5783fb7

Browse files
Remove bcrypt
1 parent 2032530 commit 5783fb7

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

app/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
},
88
"dependencies": {
99
"babel-runtime": "^6.22.0",
10-
"bcrypt": "^0.8.7",
1110
"meteor-node-stubs": "~0.2.0"
1211
},
1312
"devDependencies": {

index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,22 @@ Once the libraries are installed, you can run the application by invoking the ["
4545
$ meteor npm run start
4646
```
4747

48+
49+
**Note regarding bcrypt warning.** You will get the following message when you run this application:
50+
51+
```
52+
Note: you are using a pure-JavaScript implementation of bcrypt.
53+
While this implementation will work correctly, it is known to be
54+
approximately three times slower than the native implementation.
55+
In order to use the native implementation instead, run
56+
57+
meteor npm install --save bcrypt
58+
59+
in the root directory of your application.
60+
```
61+
62+
On some operating systems (particularly Windows), installing bcrypt is much more difficult than implied by the above message. Bcrypt is only used in Meteor for password checking, so the performance implications are negligible until your site has very high traffic. You can safely ignore this warning without any problems.
63+
4864
If all goes well, the template application will appear at [http://localhost:3000](http://localhost:3000). You can login using the credentials in [settings.development.json](https://github.com/ics-software-engineering/meteor-application-template/blob/master/config/settings.development.json), or else register a new account.
4965

5066
Lastly, you can run ESLint over the code in the imports/ directory with:

0 commit comments

Comments
 (0)