capnash / candidatexyz-1.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

candidateXYZ

The first MVP version of candidateXYZ. A basic template for campaign websites based off of Congressman Seth Moulton's website. Fully themeable and customizable based on user input.
Check out the story here.

Local development

Environment Variables

AWS_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY

Running

bundle exec rails s -b 127.0.0.1 -p 3001

Deployment instructions

bundle exec rake assets:precompile RAILS_ENV=production ./deploy/deploy

secrets.env

SECRET_KEY_BASE={GENERATED_SECRET_KEY}
PGUSER={DATABASE_USERNAME}
PGPASSWORD={DATABASE_PASSWORD}
PGHOST={DATABASE_ADDRESS}
PGPORT=5432
AWS_REGION={AWS_REGION}
PROJECT_NAME={TERRAFORM_NAME}
USERNAME=demo

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 73.5%Language:Ruby 15.6%Language:CSS 8.3%Language:HCL 1.6%Language:Shell 0.6%Language:HTML 0.4%