1.1 KiB
1.1 KiB
crm-integration
Integrate and customize CRM and ERP used by SimaSpace
Setup
- Run setup script :
npm run setup
This installs packages for server and client applications. Then builds docker image for database and starts container. Database name ispsychology. Default username isdockerand default password isdocker.
If everything works correctly, it is possible to connect to database with :
psql -d psychology -p 5432 -U docker -h localhost
-
Start server :
npm run start-server -
Start client :
npm run start-client
Useful NPM scripts
There are few scripts to handle some operations faster, without copy-pasting commands to terminal
-
Build docker container :
npm run docker-build
If, for any reason, you need to build docker image, without running same image and migrations, use this script -
Start docker container :
npm run docker-stop
This script starts docker container if it is already built -
Stop docker container :
npm run docker-startThis script stops docker container -
Execute migrations :
npm run migrate