#Welcome to Hibiscus
Permission granted to use this image from Mahesh "Vyoma" Bhat | KalaaLog.com
#Installation directions for development environment
-
Setup your environment variable for GITHUB_ID, GITHUB_SECRET
- Register your application with github at https://github.com/settings/applications
- Application name: Hibiscus development
- Main url: http://locallost
- Callback url: http://localhost:3000/auth/github/callback
- add the following to .bash_profile
export GITHUB_ID="d8a90randomjunk1dasdsa"
export GITHUB_SECRET="a89309adsrandomjunk1j9fajsJ" -
Setup your environment variable for SEARCHIFY_HIBISCUS_API_URL from http://searchify.com/
- add the following to .bash_profile
export SEARCHIFY_HIBISCUS_API_URL="http://something"
export SEARCHIFY_HIBISCUS_INDEX="hibiscus"- restart your terminal
-
If you enable sending of emails in development environment, then setup your environment variable for emails. Currently this is only needed for testing article feed importer export SMTP_SERVER_USERNAME= SMTP_SERVER_PASSWORD=
-
Setup your environment variable for ARTICLE_USER_ID. This is used by the Article Generator.
-
add the following to .bash_profile
export ARTICLE_USER_ID="scotty"
-
restart your terminal
-
in terminal run "rake db:seed" to create default article user
-
##Local mongo database
- install mongo (See http://www.mongodb.org/display/DOCS/Quickstart+OS+X )
##Remote mongo database
- setup your environment variable for MONGOHQ_URL from https://www.mongohq.com/home The url looks like mongodb://:@staff.mongohq.com:/
#Installation directions for Heroku
- heroku config:set GOOGLE_ANALYTICS:UA-12345678-1