为非营利性组织CASA提供志愿者管理系统,该组织为美国各州的寄养青少年提供服务。
A CASA (Court Appointed Special Advocate) is a role where a volunteer advocates on behalf of a youth in their county's foster care system. CASA is also the namesake role of the national organization, CASA, which exists to cultivate and supervise volunteers carrying out this work – with county level chapters (operating relatively independently of each other) across the country.
Table of Contents
We are very happy to have you! CASA and Ruby for Good are committed to welcoming new contributors of all skill levels.
Start with the contributing guide for setup, issue claiming, testing, and pull request expectations.
Find issues to work on here on the issue board. Issues on the project's TODO column are another way to browse issues. Check to see that no one is assigned to the issue. Then comment on it to claim the issue. Commenting on an issue doesn't automatically get the issue assigned so double check the comments on an issue to see that no one is requesting assignment.
Pull requests which are not for an issue but which improve the codebase are also welcome! Feel free to make GitHub issues for bugs and improvements. A maintainer will be keeping an eye on issues and PRs every day or three.
We highly recommend that you join us in slack in the #casa channel so you can get fast help for any questions you may have.
Check out our google calendar to see when office hours and stakeholder meetings are.
You can also open an issue or comment on an issue on GitHub and a maintainer will reply to you.
CASA is a national organization with many regional chapters. We currently work with Prince George's County CASA in Maryland, Montgomery CASA Maryland, and Howard County Maryland
This system provides value by:
Read about the product sense that guides our approach to this work.
How CASA works:
Project Considerations
More information:
The complete role description of a CASA volunteer in Prince George's County.
| Technology | Version |
|---|---|
| Ruby | 4.0.6 (see .ruby-version) |
| Rails | 7.2 |
| PostgreSQL | 14+ |
| Node.js | LTS/Krypton (see .nvmrc) |
Key libraries: Hotwire Turbo, Stimulus, RSpec, StandardRB
schema.rb into dbdiagram.io for a live model diagramSee our contributing guide ✨
bin/setup script needs to runbin/dev and visit the URL that pops in VSCode up to see the CASA pageDownloading the Project (on a Mac or Linux machine)
git clone https://github.com/rubyforgood/casa.git clone the repo to your local machine.Ruby
.ruby-version. Right now that's Ruby 4.0.3gem install bundlernode.js
.tool-versions will be used, but may be out of sync with the codename version in .nvmrc. To use the version from .nvmrc, see one of these options: legacy file codename support or installing via custom script.nvm install from this directory will read the .nvmrc file to install the correct version.PostgreSQL ("postgres")
sudo apt-get install libpq-dev so the gem can install. Use the Postgres repo for Ubuntu or WSL to get the server and client tools.sudo dnf install libpq-devel. If you prefer choose package of libpq-devel via rpmchoco install postgresql.Chrome Browser
bundle install is run. TO install Chrome, see Chrome Install.Another option is to install the Chromium browser for your operating system so the browser-based Ruby feature/integration tests can run. Installing chromium-browser is enough, including for many WSL (Windows subsystem for Linux) distributions.
If you are using Ubuntu on WSL and receive the following message when trying to run the test suite...
Command '/usr/bin/chromium-browser' requires the chromium snap to be installed. Please install it with:
snap install chromium
...check out the instructions on installing google-chrome and chromedriver for WSL Ubuntu.
Rails/rake commands hang forever instead of running
Run: rails app:update:bin
No option for a user to sign up through the UI
This is intentional. Use a pre-seeded user account — see Logging in with seed users.
Windows error: "Requirements support for mingw is not implemented yet"
Use RubyInstaller instead.
Images not displaying locally
Install imagemagick: https://imagemagick.org/script/download.php
M1 Mac installation issues
Run these commands before starting the installation process:
$env /usr/bin/arch -arm64 /bin/zsh ---logingem uninstall -aIxbin/setup fails with a credentials error
.env file.POSTGRES_USER and POSTGRES_PASSWORD to match your PostgreSQL credentials.bin/setupcd casa/bin/setupbin/dev and visit http://localhost:3000/ to see the app running.A publicly accessible QA environment is available at https://casa-qa.herokuapp.com/. You can log in using the same seed credentials below — useful for exploring the app without any local setup.
Local: http://localhost:3000/users/sign_in — QA: https://casa-qa.herokuapp.com/users/sign_in
| Role | Password | |
|---|---|---|
| [email protected] | Volunteer | 12345678 |
| [email protected] | Supervisor | 12345678 |
| [email protected] | Admin | 12345678 |
| [email protected] |
暂无开放 Issues,或尚未同步最近议题。