DEV Community

Discussion on: Deploy Rails App from Github to AWS Elastic Beanstalk

Collapse
 
oscarsolerb profile image
Oscar Soler • Edited

hey @sname , nice article

how to run migrations and seeds ?

Collapse
 
sname profile image
Olumuyiwa Osiname

Thanks. It depends on when you want to run them. By deafult migrations are run automatically as long as you dont change the environment config RAILS_SKIP_MIGRATIONS which should be false. You can run seeds via platform post deploy hooks or ssh into the ec2 instance. Will write about this soon