nfoert / cardie

An open source business card designer and sharing platform
https://cardie-uwtwy.ondigitalocean.app/
GNU General Public License v3.0
389 stars 25 forks source link

`staticfiles` dir should not be present in the repository #70

Open ar4s opened 1 month ago

ar4s commented 1 month ago

staticfiles with current settings.py points manage.py collectstatic where should collect a static files.

My proposal is:

In var in the near future we can store media files (avatars, etc).

nfoert commented 1 month ago

In var in the near future we can store media files (avatars, etc).

I'm unsure on how exactly the best way to store the files is in production, as I will have to add new components and disk space to the production server, I will have to look into this.

ar4s commented 1 month ago

I was referring to the development environment at the moment. For production you should use some block storage like S3 from AWS or R2 from CloudFlare to store this kind of data.

nfoert commented 1 month ago

I was referring to the development environment at the moment. For production you should use some block storage like S3 from AWS or R2 from CloudFlare to store this kind of data.

Ah I see, that was my mistake. That makes sense, I will definitely look into implementing this soon It will likely be related to #46 when we're uploading the images