Jenny-Dup / narnia

1 stars 0 forks source link

Fix Cloudinary & Fix Seed #3

Closed ilya-dyaglev closed 4 months ago

ilya-dyaglev commented 4 months ago
  1. Fix Cloudinary:
    • there was necessity to initialize cloudinary before we could actually use it in the project
    • in order to preserve safety an .env file was created where global variables related to the cloudinary access are stored (for now it's my personal account, in the future project we of course will be using something common)
  2. Fix Seed:
    • there was a mismatch between the db schema and actual data in the seed.rb file, fixed that.

Features fixed:

  1. All outfits grid (all possible outfits in the db, not a feature but a demonstration)

    Screenshot 2024-06-02 at 20 24 27
  2. Now you can upload your own images to the cloudinary db! (please don't do too much, or my cloudinary won't stand for long...)

    Screenshot 2024-06-02 at 20 27 47
Screenshot 2024-06-02 at 20 28 25