Open Source:
Services:
- Setup Postgres
- Setup Redis
- Run
./bin/setup- If you run into any error, configure the
.envfile and retry.
- If you run into any error, configure the
Note: Since this project is setup to deploy via Heroku and their buildpacks, a rails/web docker container is not available. Having a web container would provide no benefit the development workflow at this time.
- Install Docker
- Initialize Boot2Docker
boot2docker init - Install Fig
- Start Boot2Docker
boot2docker up- Note: It's recommended to add the exports to your
~/.bash_profilethen reload your prompt
- Note: It's recommended to add the exports to your
- Start Backing Services
source docker.sh - Run
./bin/setup
-
All
DATABASE_URL:postgresql://username:password@host:port/databaseREDIS_URL:redis://username:password@hostname:port/database_number
-
Development
TRUSTED_IP:172.17.42.1(Better Errors: Optional)
-
Production
-
APP_HOST:example.com -
SECRET_KEY_BASE:ea1e8ba83614cc8d6140105a42642dc8391d6f2f8... -
TWITTER_KEY:lkfAc16oTJcbR766zw8GDw...TWITTER_SECRET:NT7WOYKnZplMYQeJ8GjeXHup9sPk5WbR1WZFritdnARP5x7...
-
FACEBOOK_KEY:559887567744...FACEBOOK_SECRET:445a594f443e2f1bcd3025f99e693...
-
AWS_ACCESS_KEY_ID:AKIAIOSFODNN7EXAM...AWS_SECRET_ACCESS_KEY:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLE...AWS_S3_REGION:us-east-1AWS_S3_BUCKET:nameAWS_S3_FQDN://localhostASSETS_DIRECTORY:/development/assets
-
STRIPE_KEY:pk_test_4TYeurr4kT16D6KedSAlT...STRIPE_SECRET:sk_test_4TYeUPbdKFGeJUXBVJFoI...
-
This project's git flow is based on A successful Git branching model
- Find or Submit Bounty
- Make a Feature Branch from
develop
- Name it based on bounty:
18-init-project
- Make Changes
- Use micro commits
- Use the imperative, present tense: "change", not "changed" or "changes".
- Write tests
- Will not accept PRs that reduce coverage
- Open PR back into develop
- Make PR Description links to the Bounty and add a comment to the Bounty linking the PR
- Add accompanying images for UI changes