change database name
This commit is contained in:
@@ -7,15 +7,19 @@ Integrate and customize CRM and ERP used by SimaSpace
|
||||
1. 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 is `psychology`. Default username is `docker` and default password is `docker`.
|
||||
Database name is `CrmIntegration`. Default username is `docker` and default password is `docker`.
|
||||
|
||||
NOTE : If migration fails, try executing migrations manually with `npm run migrate`
|
||||
|
||||
If everything works correctly, it is possible to connect to database with :
|
||||
`psql -d psychology -p 5432 -U docker -h localhost`
|
||||
`psql -d CrmIntegration -p 5432 -U docker -h localhost`
|
||||
|
||||
3. Start server : `npm run start-server`
|
||||
|
||||
4. Start client : `npm run start-client`
|
||||
|
||||
Open app on http://localhost:3000
|
||||
|
||||
#### Useful NPM scripts
|
||||
|
||||
There are few scripts to handle some operations faster, without copy-pasting commands to terminal
|
||||
|
||||
Reference in New Issue
Block a user