-
Notifications
You must be signed in to change notification settings - Fork 4
Installation and configuration
Alex Young edited this page Oct 26, 2015
·
2 revisions
###Installation
You will need:
- A registered GitHub app
- The GitHub client ID and secret
- The usernames of GitHub users who are allowed to administer Appcaster
These settings can be placed in the config/development.js
file for local development.
For production, you will have to set environmental variables. On Heroku you can use heroku config:set
. The following environmental variables are expected:
-
AC_ROOT_URL
: The URL of your server. -
AC_DATABASE_URL
: The connection string for your postgres server. -
AC_GITHUB_CLIENT_ID
: Your GitHub application client ID. -
AC_GITHUB_CALLBACK_URL
: Your GitHub application callback URL. -
AC_GITHUB_SECRET
: Your GitHub application's secret. -
AC_GITHUB_USERS
: A comma-separated list of GitHub usernames that have permission to access the Appcaster administration area.
You can seed the database by running the bin/seed
script.