1.0.0 • Published 10 months ago
services-audyx v1.0.0
Attention!
If you send patient data in the socket, please be sure that it doesn't be saved anywhere. (logs, console logs, etc.)
Install
npm install
or
yarn
install services DB
- create locla DB
sudo -u $USER createdb servicesdb
- set password for your user on psql
psql -d servicesdb -U $USER
\password
{write your user name}
\q
notice: your password needs to be as your user name for example: if $USER = john, you will put john for your password
Run
npm start
Run locally
Copy your Audyx certificates to the services folder before running
Services
npm run dev
This will run a https proxy server on port 5000
see remote wiki for the remote settings
Audyx
- .env:
change theSERVICES_AUDYX_URL
tolocal.koalys.com:5001
Structure
server.js: Runs the express server
socket.js: Handles socket.io
db/migrations: all database migrations
models: all models files
1.0.0
10 months ago