Skip to content

Instantly share code, notes, and snippets.

View yedhink's full-sized avatar
✍️
working and learning.

Yedhin Kizhakkethara yedhink

✍️
working and learning.
View GitHub Profile
@yedhink
yedhink / setup-neetoreview.md
Last active November 8, 2022 08:43 — forked from ghousemohamed/instructions.md
How to Deploy Rails Application using neetoReview

1. Create a file named Procfile in the root directory with the following content:

web:  bundle exec puma -C config/puma.rb
worker: bundle exec sidekiq -C config/sidekiq.yml
release: bundle exec rake db:migrate populate_with_sample_data

Please make sure you have a rake task available in the project called populate_with_sample_data. This rake task does not necessarily need to have any associated code in it. It can be a blank rake task, or you can choose to populate it with your own custom logic your app might require, like say setting up a default user oliver@example.com. Example: https://github.com/bigbinary/wheel/blob/main/lib/tasks/setup.rake#L8-L12