🧶
This commit is contained in:
parent
0108d553a8
commit
73a7a6acf6
4 changed files with 1741 additions and 5477 deletions
5472
package-lock.json
generated
5472
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -20,7 +20,6 @@
|
|||
"jsonwebtoken": "^8.5.1",
|
||||
"mongoose": "^6.0.4",
|
||||
"uuid": "^8.3.1",
|
||||
"werift": "^0.9.13",
|
||||
"ws": "^8.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -26,12 +26,12 @@ Now that we have a Mongo server set up, let's actually begin to set up the Brain
|
|||
|
||||
## 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.
|
||||
Then, run the following command:
|
||||
```
|
||||
npm i
|
||||
yarn i
|
||||
```
|
||||
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!
|
||||
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!
|
Reference in a new issue