forked from MicroPyramid/django-blog-it
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Heroku deploy default admin created
- Loading branch information
Showing
2 changed files
with
93 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,55 @@ Installation | |
DISQUSSHORTNAME="Your Disquss Short Name" | ||
|
||
export DISQUSSHORTNAME | ||
# google api key for short url | ||
|
||
API_KEY="google api key" | ||
|
||
export API_KEY | ||
|
||
# google captcha | ||
|
||
GOOGLE_CAPTCHA_SITE_KEY="Site key" | ||
|
||
export GOOGLE_CAPTCHA_SITE_KEY | ||
|
||
GOOGLE_CAPTCHA_SECRET_KEY="Secret key" | ||
|
||
export GOOGLE_CAPTCHA_SECRET_KEY | ||
# Google Analytics Account | ||
|
||
GOOGLE_ANALYTICS_ID="UA-123456789" | ||
|
||
export GOOGLE_ANALYTICS_ID | ||
|
||
# Google Login | ||
GP_CLIENT_ID="google client id" | ||
export GP_CLIENT_ID | ||
|
||
GP_CLIENT_SECRET="secret key" | ||
|
||
export GP_CLIENT_SECRET | ||
# Facebook Login | ||
FB_APP_ID="facebook app id" | ||
|
||
export FB_APP_ID | ||
|
||
FB_SECRET="023df180c6d868e76a02aec17134c843" | ||
|
||
export FB_SECRET | ||
# Default E-mail | ||
|
||
DEFAULT_EMAIL="[email protected]" | ||
|
||
export DEFAULT_EMAIL | ||
|
||
|
||
3. Use virtualenv to install requirements:: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,46 @@ | ||
{ | ||
"name": "Django Blog", | ||
"description": "Self-hosted blog app", | ||
"repository": "https://github.com/MicroPyramid/django-blog-it", | ||
"scripts": { | ||
"postdeploy": "python sandbox/manage.py makemigrations && python sandbox/manage.py migrate" | ||
} | ||
"name": "Django Blog", | ||
"description": "Self-hosted blog app", | ||
"repository": "https://github.com/MicroPyramid/django-blog-it", | ||
"scripts": { | ||
"postdeploy": "python sandbox/manage.py makemigrations && python sandbox/manage.py migrate && echo \"from django.contrib.auth.models import User; User.objects.create_superuser('Admin001', '[email protected]', 'admin001')\" | python sandbox/manage.py shell" | ||
}, | ||
"env": { | ||
"API_KEY": { | ||
"description": "micro url ", | ||
"value": "AIzaSyANPi_ULytUHdU4UKtlVmb_Jo1_N29IwTE" | ||
}, | ||
"GOOGLE_CAPTCHA_SITE_KEY": { | ||
"description": "google captcha site key", | ||
"value": "6LczhSUTAAAAAEGXEzXenG9LTpRgWj5kZ5HKUsys" | ||
}, | ||
"GOOGLE_CAPTCHA_SECRET_KEY": { | ||
"description": "google captcha secret key", | ||
"value": "6LczhSUTAAAAAPcdeBD4YSJfijBsoI1T2rNiXB-D" | ||
}, | ||
"GOOGLE_ANALYTICS_ID": { | ||
"description": "google analytics Id", | ||
"value": "UA-1232342342" | ||
}, | ||
"GP_CLIENT_ID": { | ||
"description": "Google client login Id", | ||
"value": "51531256941-jbi840coio2vg8q1mht5bmuq002p2kt8.apps.googleusercontent.com" | ||
}, | ||
"GP_CLIENT_SECRET": { | ||
"description": "Google client secret key", | ||
"value": "757UNcQ3Py03QVFMm4Wg5tsE" | ||
}, | ||
"FB_APP_ID": { | ||
"description": "Facebook app id", | ||
"value": "1578441772473570" | ||
}, | ||
"FB_SECRET": { | ||
"description": "Facebook secret key", | ||
"value": "023df180c6d868e76a02aec17134c843" | ||
}, | ||
"DEFAULT_EMAIL": { | ||
"description": "default email", | ||
"value": "[email protected]" | ||
} | ||
} | ||
} |