Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (29 sloc) 1.312 kB

Welcome to WWQI-Platform!

This is the repo for the platform site to http://www.qajarwomen.org

Getting Started

Run `rake db!` to load the database schema and seed the app with demo data.

Your environment

This app uses .env files for environment configuration. Take a look at the .env.example for an example on how to create and set your environment variables. Each .env file should be named according to the environment. For example, for the development environment, name it .env.development. Here's a list of environment variables that this app makes use of:

ENABLE_S3: AWS S3 is used for file storage. This option is not necessary on production where S3 is automatically used. Set to true to allow files to be uploaded to S3. Otherwise files are saved to your local machine.

AWS_ACCESS_KEY_ID: The access key for S3.

AWS_SECRET_ACCESS_KEY: The secret key for S3.

AWS_S3_BUCKET: The bucket name that holds the uploaded files.

LIVE_SEARCH: In the development environment calls to wwqi-search's search api will be mocked. Set this to true to allow live calls.

SEARCH_URL: The url for wwqi-search's search api.

SEARCH_INDEX: The name of the index used by wwqi-search.

WWQI_SITE: The sister site (i.e., www.qajarwomen.org).

Remember to run specs before you commit!

rspec spec

Jump to Line
Something went wrong with that request. Please try again.