forked from reactivemanifesto/website-manifesto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
42 lines (33 loc) · 1.41 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Local Development
-----------------
This file will be packaged with your application, when using `play dist`.
=======
Setup the environment:
export TWITTER_AUTH_KEY="---YOUR-KEY---"
export TWITTER_AUTH_SECRET="---YOUR-SECRET---"
export TWITTER_BEARER_TOKEN="---YOUR-BEARER-TOKEN---"
export GOOGLE_CLIENT_ID="---YOUR-ID---"
export GOOGLE_CLIENT_SECRET="---YOUR-SECRET---"
export GOOGLE_API_KEY="---YOUR-API-KEY---"
export GITHUB_CLIENT_ID="---YOUR-ID---"
export GITHUB_CLIENT_SECRET="---YOUR-SECRET---"
export LINKEDIN_CLIENT_ID="---YOUR-ID---"
export LINKEDIN_CLIENT_SECRET="---YOUR-SECRET---"
Run:
play ~run
Deploy on Heroku
----------------
heroku create
heroku addons:add mongolab
heroku config:add APPLICATION_SECRET="---YOUR-APPLICATION-SECRET---"
heroku config:add TWITTER_AUTH_KEY="---YOUR-KEY---"
heroku config:add TWITTER_AUTH_SECRET="---YOUR-KEY---"
heroku config:add TWITTER_BEARER_TOKEN="---YOUR-BEARER-TOKEN---"
heroku config:add GOOGLE_CLIENT_ID="---YOUR-KEY---"
heroku config:add GOOGLE_CLIENT_SECRET="---YOUR-KEY---"
heroku config:add GOOGLE_API_KEY="---YOUR-API-KEY---"
heroku config:add GITHUB_CLIENT_ID="---YOUR-KEY---"
heroku config:add GITHUB_CLIENT_SECRET="---YOUR-KEY---"
heroku config:add LINKEDIN_CLIENT_ID="---YOUR-KEY---"
heroku config:add LINKEDIN_CLIENT_SECRET="---YOUR-KEY---"
git push heroku master