mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 17:27:37 -05:00
Before I update things, here is a working version
This commit is contained in:
25
README.md
25
README.md
@@ -99,9 +99,9 @@ On MacOS, make the changes in: */etc/hosts*
|
|||||||
# when the system is booting. Do not change this entry.
|
# when the system is booting. Do not change this entry.
|
||||||
##
|
##
|
||||||
127.0.0.1 localhost
|
127.0.0.1 localhost
|
||||||
127.0.0.1 openmhz.test api.openmhz.test admin.openmhz.test media.openmhz.test
|
127.0.0.1 openmhz.test account.openmhz.test api.openmhz.test admin.openmhz.test media.openmhz.test
|
||||||
````
|
````
|
||||||
Then load these values into local DNS: `dscacheutil –flushcache`
|
Then load these values into local DNS: `sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder`
|
||||||
|
|
||||||
|
|
||||||
- In root dir, run: `./docker-test.sh build`
|
- In root dir, run: `./docker-test.sh build`
|
||||||
@@ -144,6 +144,27 @@ From the Host OS run:
|
|||||||
```bash
|
```bash
|
||||||
docker exec -i -t $(docker ps -a | grep mongo | awk '{print $1}') /bin/bash
|
docker exec -i -t $(docker ps -a | grep mongo | awk '{print $1}') /bin/bash
|
||||||
```
|
```
|
||||||
|
Then launch the `mongo` CLI tool and find any users you have created
|
||||||
|
```bash
|
||||||
|
mongo
|
||||||
|
use scanner
|
||||||
|
db.users.find()
|
||||||
|
```
|
||||||
|
|
||||||
|
Now swap out the ObjectId for the user, and then run this command. It will make it so you don't need to confirm the email.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
db.users.updateOne(
|
||||||
|
{ "_id" : ObjectId("63a620d0a63b087b005f6726") },
|
||||||
|
{
|
||||||
|
$set: { "confirmEmail" : true },
|
||||||
|
$currentDate: { lastModified: true }
|
||||||
|
}
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
There are a few scripts included with the container:
|
There are a few scripts included with the container:
|
||||||
- **clean.js** This script removes all Calls that are over 30 days old
|
- **clean.js** This script removes all Calls that are over 30 days old
|
||||||
|
|||||||
@@ -9,11 +9,9 @@
|
|||||||
"@testing-library/react": "^9.3.2",
|
"@testing-library/react": "^9.3.2",
|
||||||
"@testing-library/user-event": "^7.1.2",
|
"@testing-library/user-event": "^7.1.2",
|
||||||
"axios": "0.21.1",
|
"axios": "0.21.1",
|
||||||
"connect-mongo": "3.2.0",
|
|
||||||
"connected-react-router": "6.8.0",
|
"connected-react-router": "6.8.0",
|
||||||
"date-fns": "2.16.1",
|
"date-fns": "2.16.1",
|
||||||
"ejs": "3.1.6",
|
"ejs": "3.1.6",
|
||||||
"mongoose": "5.11.17",
|
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
"react-audio-player": "0.14.0",
|
"react-audio-player": "0.14.0",
|
||||||
"react-datepicker": "3.3.0",
|
"react-datepicker": "3.3.0",
|
||||||
|
|||||||
1034
frontend/yarn.lock
1034
frontend/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user