Equity for everyone.
You'll need:
- Docker
- Node.js (see
.node-version)
The easiest way to set up the development environment is to use the bin/setup script, but feel free to run the commands in it yourself to:
- Set up Ruby (ideally using
rbenv/rvm) and PostgreSQL - Install dependencies using
pnpm iandcd apps/rails && bundle i - Set up your environment by either using
pnpx vercel env pullorcp .env.example .envand filling in missing values and your own keys - Run
cd apps/rails && gem install foreman && bin/rails db:setup
You can start the local app using the bin/dev script - or feel free to run the commands contained in it yourself.
Once the local services are up and running, the application will be available at https://flexile.dev
Check the seeds for default data created during setup.
# Run Rails specs
bundle exec rspec # Run all specs
bundle exec rspec spec/system/roles/show_spec.rb:7 # Run a single spec
# Run Playwright end-to-end tests
pnpm playwright testFlexile is licensed under the MIT License.