33## Dependencies
44
55- nodejs https://nodejs.org/en/ (v12+)
6- - Postgres
6+ - PostgreSQL
77- ElasticSearch (7.x)
88
99## Configuration
@@ -22,20 +22,20 @@ The following parameters can be set in config files or in env variables:
2222- ` AUTH0_CLIENT_ID ` : Auth0 client id, used to get TC M2M token
2323- ` AUTH0_CLIENT_SECRET ` : Auth0 client secret, used to get TC M2M token
2424- ` AUTH0_PROXY_SERVER_URL ` : Proxy Auth0 URL, used to get TC M2M token
25- - ` POSTGRES_URL ` : Postgres database url.
26- - ` DB_SCHEMA_NAME ` : string - postgres database target schema
25+ - ` DATABASE_URL ` : PostgreSQL database url.
26+ - ` DB_SCHEMA_NAME ` : string - PostgreSQL database target schema
2727- ` PROJECT_API_URL ` : the project service url
28- - ` TC_API ` : the topcoder v5 url
28+ - ` TC_API ` : the Topcoder v5 url
2929- ` ORG_ID ` : the organization id
3030- ` HOST ` : the elasticsearch host
3131- ` ES_INDEX_JOB ` : the job index
3232- ` ES_INDEX_JOB_CANDIDATE ` : the job candidate index
3333- ` ES_INDEX_RESOURCE_BOOKING ` : the resource booking index
3434
3535
36- ## Postgres Database Setup
37- Go to https://www.postgresql.org/ download and install the Postgres .
38- Modify ` POSTGRES_URL ` under ` config/default.js ` to meet your environment.
36+ ## PostgreSQL Database Setup
37+ Go to https://www.postgresql.org/ download and install the PostgreSQL .
38+ Modify ` DATABASE_URL ` under ` config/default.js ` to meet your environment.
3939Run ` npm run init-db ` to create table
4040
4141## ElasticSearch Setup
@@ -50,7 +50,7 @@ Run `npm run delete-index` to delete ES index.
5050- Run lint ` npm run lint `
5151- Run lint fix ` npm run lint:fix `
5252- Clear and init db ` npm run init-db `
53- - Clear and create es index ` npm run delete-index, npm run create-index `
53+ - Clear and create es index ` npm run delete-index && npm run create-index `
5454- Start app ` npm start `
5555- App is running at ` http://localhost:3000 `
5656
0 commit comments