- use the repository from last assignment
- start from the branch assignment6
- switch to branch assignment7
- add file upload for profile image
- show the image in profile show
- show the image next to the account name in posts and comments
- add file upload to posts (optional to comments) and display them
- add a default user to your seeds
- deploy your app to heroku:
- https://devcenter.heroku.com/articles/getting-started-with-rails6
- https://devcenter.heroku.com/articles/delayed-job
- https://devcenter.heroku.com/articles/active-storage-on-heroku
- to deploy your assignment7 branch use:
-
$ git push heroku assignmet7:main
-
- the bundler version 2.2.3+ has an problem with heroku, this is the fix:
$ bundle lock --add-platform ruby
$ bundle lock --add-platform x86_64-linux
$ bundle install
$ git add . ; git commit -m "Bundler fix"
- from: https://devcenter.heroku.com/articles/bundler-version
- provide the link to your heroku app in the readme.md
- commit and push to branch assignment7
- create a pull request (name: Assignment7) to the main/master branch
Deadline for this assignment is extended to Friday 3.7.2021 23:59