bundle install
rails db:migrate
rails db:seed
bin/dev
- Use this over
rails server
since we are using TailwindCSS
- Use this over
Deployed with Render.io
- Append to the build command in Render
bundle exec rails db:migrate;bundle exec rails db:seed
. - Had to run
bundle lock --add-platform x86_64-linux
to add Linux platform used by Render. - Had to run
EDITOR="code --wait" rails credentials:edit
to generate missing key for production.- Run
cat config/master.key
to copy key value, set as environment variable namedRAILS_MASTER_KEY
.
- Run
- Run
brew install vips
to install image resizer needed for action text. - Setting up S3:
- Run
EDITOR="code --wait" rails credentials:edit
and add the aws access key id and secret access key.
- Run
- Add
<% console %>
to a view to enable a Ruby console when running the app.