/dev

Primary LanguageJavaScript

Quickstart

  1. Install Postgres database depending on your OS:
brew install postgres
  1. Run install script located in /src directory:
./install.sh
  1. In Google Google Developers Console create a project:

a) Create OAuth client ID for Web Application under Credentials menu.

b) Enter the following URI's in Authorized redirect URIs list:

http://localhost:8000/accounts/complete/google-oauth2/
http://127.0.0.1:8000/accounts/complete/google-oauth2/

c) Under the APIs and services tab, search for Google+ API and Gmail API and enable them.

  1. Set SOCIAL_AUTH_GOOGLE_OAUTH2_KEY and SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET environment variables:
export SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=''  #Paste CLient Key
export SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET= '' #Paste Secret Key
  1. In LinkedIn Developer Network create a project (Instructions in STEP 1):

a) Enter the following URI in Authorized redirect URIs list:

http://127.0.0.1:8000/accounts/complete/linkedin-oauth2/
  1. Set SOCIAL_AUTH_LINKEDIN_OAUTH2_KEY and SOCIAL_AUTH_LINKEDIN_OAUTH2_SECRET environment variables:
export SOCIAL_AUTH_LINKEDIN_OAUTH2_KEY=''  #Paste CLient Key
export SOCIAL_AUTH_LINKEDIN_OAUTH2_SECRET= '' #Paste Secret Key
  1. Start server located in /src directory::
./start.sh