the RailsDevs.com board
The reverse job board for Ruby on Rails developers.
The reverse job board for Rails developers.
RailsDevs empowers independent developers available for their next gig. It is being built around three core values:
You will need a few non-Ruby packages installed. Install these at once via:
brew bundle install --no-upgrade
...or manually:
brew install libpq
libpg
is needed to use the native pg
gem without Rosetta on M1 macsbrew install postgresql
5432
. One could check/modify that in the postgresql.conf
file, e.g. in case of version 13: /etc/postgresql/13/main/postgresql.conf
.brew install node
brew install yarn
brew install redis
brew install imagemagick
brew install vips
brew install stripe/stripe-cli/stripe
gem install foreman
brew install --cask google-chrome chromedriver
Start PostgreSQL server.
brew services start postgresql
Start Redis server.
brew services start redis
An installation script is included with the repository that will automatically get the application setup.
bin/setup
Run the following to start the server and automatically build assets.
foreman
or overmind
stripe
bin/dev
Seeding the database, either via rails db:seed
or during bin/setup
, creates a few accounts. Most importantly, use [email protected]
and [email protected]
with password password
.
More information is in [the docs on seeds](docs/seeds.md).
You will need to configure Stripe or do a mock configuration (ie set dummy values for the last step listed below) if you are working on anything related to payments.
brew install stripe/stripe-cli/stripe
stripe login
stripe listen --forward-to localhost:3000/pay/webhooks/stripe
in order to generate your webhook signing secret.EDITOR="mate --wait" bin/rails credentials:edit --environment development
. You may need to install and provide terminal access to the editor first (mate, subl, and atom should all work). If you run the code above and receive the message "New credentials encrypted and saved", without having had the opportunity to edit the file first, things have gone astray. You will need to troubleshoot this step based on your OS and desired editor, to ensure you are able to edit the development.yml file before it is encoded and saved. See here for more details.stripe:
private_key: sk_test_YOUR_TEST_STRIPE_KEY
signing_secret: whsec_YOUR_SIGNING_SECRET
price_ids:
part_time_plan: price_YOUR_PRODUCT_PRICE_ID
full_time_plan: price_ANOTHER_PRODUCT_PRICE_ID
Application monitoring is powered by Scout APM. This helps identify N+1 queries, slow queries, memory bloats, and more. Scout APM is free for open source.
rails test
to run unit/integration tests.rails test:system
to run system tests, using headless_chrome
.HEADFUL=1 rails test:system
to run system tests, using headful_chrome
.Significant changes and product updates are documented in the [changelog](CHANGELOG.md).
All code and documentation is copyright 2022 Joe Masilotti [under the MIT license](LICENSE).
All other resources including, but not limited to, images, copy, and branding, are copyright 2022 Joe Masilotti and used by permission for this project only.
RailsDevs uses a free or discounted open source plan from the following companies. Thank you for the support!