Hsfc
RubyforGood Project for the Humane Society of Fairfax County
Install / Use
/learn @adamlwalker/HsfcREADME
Humane Society of Fairfax County
This is the home of the Ruby for Good project to redo the old site for the Humane Society of Fairfax County.
Issue tracking can be found here.
Getting Started:
bundle install
rake db:create rake db:migrate
pg_restore db/hsfc_rubyforgood.dump
Environment variables
cp .env-sample .env
Look for Petfinder credentials in Slack channel and add to .env file.
cms-admin credentials
After booting up the server with rails s navigate to localhost:3000/cms-admin/login
username: admin@cmsfortress.com
password: 1234qwer
or if that doesn't work you may need to use:
username: admin@rubyforgood.com
password: password
Once you have logged in you will need to delete the default site and creating a new site called localhost. You can find the page to make these changes by clicking settings button in the top navbar.
With a new localhost site created you can bootstrap it with fixture files with the following command.
rake comfortable_mexican_sofa:fixtures:import FROM=example.local TO=localhost
Managing non-application code
Adoption form data:
To load the production questions and other seeds, etc, into your database, run:
rake db:submission_data_load
(To delete data from the application tables, run: rake db:submission_data_destroy)
CMS Fixtures:
When you login for the first time, create a site called 'localhost' before attempting the import.
After pulling latest changes from the remote you need to import the fixture files into your local db.
rake comfortable_mexican_sofa:fixtures:import FROM=example.local TO=localhost
When you want to push your changes up to Github and PR in order for others to see and use your changes export.
rake comfortable_mexican_sofa:fixtures:export FROM=localhost TO=example.local
The Carousel
Upload new photos via the Admin portal. The carousel will cycle through any images with the category 'slides'.
Contributing:
Branch off of master:
git checkout -b <name of your feature branch>
Make changes, commit, then push your changes.
rake db:dump
git push
Submit PR into master.
Screenshots
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
