This commit is contained in:
hippoz 2021-10-13 17:31:49 +03:00
parent 0108d553a8
commit 73a7a6acf6
No known key found for this signature in database
GPG key ID: 7C52899193467641
4 changed files with 1741 additions and 5477 deletions

5472
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -20,7 +20,6 @@
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"mongoose": "^6.0.4", "mongoose": "^6.0.4",
"uuid": "^8.3.1", "uuid": "^8.3.1",
"werift": "^0.9.13",
"ws": "^8.2.1" "ws": "^8.2.1"
}, },
"devDependencies": { "devDependencies": {

View file

@ -26,12 +26,12 @@ Now that we have a Mongo server set up, let's actually begin to set up the Brain
## Server setup ## Server setup
You need nodejs and npm installed in order to proceed! I recommend using node 12.x. You need nodejs and yarn installed in order to proceed! I recommend using node 14.x.
Once you have installed node, clone the repo and then cd into the brainlet folder. Once you have installed node, clone the repo and then cd into the brainlet folder.
Then, run the following command: Then, run the following command:
``` ```
npm i yarn i
``` ```
This will install all of the node modules. This will install all of the node modules.
@ -50,9 +50,9 @@ You need to edit the config.js file in order to allow your domain to CORS, and m
## You should now be ready to go! ## You should now be ready to go!
Just run Brainlet with the command below: Just run Brainlet with the command below:
``` ```
npm start yarn start
``` ```
Afterwards, try going to [http://localhost:3005/auth.html](http://localhost:3005/auth.html) to visit the site, assuming default port config. Afterwards, try going to [http://localhost:3005/](http://localhost:3005/) to visit the site, assuming default port config.
Good luck! Good luck!

1737
yarn.lock Normal file

File diff suppressed because it is too large Load diff