- Install Postgres database depending on your OS:
brew install postgres
- Run install script located in /src directory:
./install.sh
- 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.
- 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
- 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/
- 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
- Start server located in /src directory::
./start.sh