- wishgee frontend -> customers from wishgee.com
- Wishgee Admin -> agents at admin.wishgee.com
Steps to run this project:
- Run
npm i
command - Setup database settings inside
ormconfig.json
file - Run
npm start
command
psql -d postgres -U wishgee;
stop server brew services stop postgresql;
start server pg_ctl -D /usr/local/var/postgres start
Setting up first time:
- install Node, python.
- For Windows install Visual Studio.
- For Windows: npm install -g windows-build-tools
- Global install yarn (We need yarn)
- Global install ts-node
- Download and install postgresql
brew install postgresql
brew services start postgresql
psql postgres
create user myuser with encrypted password 'mypass';
grant all privileges on database mydb to myuser;
postgres=# \c mydb;
- Create user ishwar (any name) and database wishgee with password (kepe those in env variables)
- Baki toh khud sambhal lena yaar, developer he baccha nahi.
If you face any issue while starting local server, run the following code:
$ rm /usr/local/var/postgres/postmaster.pid
$ brew services restart postgresql
.env for development
DEV_DATABASE_URL=postgres://user:password@localhost:5432/database
PORT=8080