Required:
- Install ImageMagick
brew install ImageMagick
- Install figaro
bundle exec figaro install
- Add the following env vars, creating a new access key from Amazon AWS IAM for the blog's dev user:
# config/application.yml
development:
S3_BUCKET_NAME:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
production:
S3_BUCKET_NAME:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
When returning after a long time or on a new system, some typical issues:
- Reinstalling ruby
rvm install ruby-3
brew install postgresql
to debugpg
gem issues- Download the pgadmin gui and get the db login+passwords sorted locally
rake db:create
rake db:migrate
rake db:seed // if you want sample data locally
rails s
When updating gems, well... good luck.
To deploy once ready:
heroku login // just once, obviously
git remote add heroku https://git.heroku.com/eriktrautman.git
git push heroku master