- A ruby version manager such as rvm or rbenv
- Ruby 3.2.3 (Installed via ruby manager ^)
- PostgreSQL, if you're not using Docker.
- npm and yarn (
npm install -g yarn
)
Build and start the application with docker compose up
. Once the application has successfully started, you should be able to visit it at https://localhost:3000/
Run commands in docker with the bin/dc
helper script on macos or Linux.
$ bin/dc rails db:setup
$ bin/dc rails test
Or by prefacing rails
commands with docker compose run stocks
.
$ docker compose run stocks rails db:setup
$ docker compose run stocks rails test
- Run setup:
bin/setup
- Run the Rails server locally:
bin/dev
It is strongly recommend to use Docker. See instructions above.
Access the app via localhost:5000
- Please create a new branch for each request
- Branch name should include issue number. For example:
branchname-23