Hello,
I apologize if this topic isn’t relevant for this forum. I’m a pretty new developer, and I’ve created a pretty simple django application that I’m attempting to deploy using AWS Elastic Beanstalk for my portfolio. I’ve managed to get the home page of the application to load, however it seems that none of the static files are loading, as it has no style or images. I also receive a 500 error when trying to load any page requiring a database connection and finding json files associated with the required models.
I’ve tried a number of troubleshooting suggestions I’ve found to no avail.
My static_url & static_root
STATIC_URL = 'static/'
STATIC_ROOT = 'static'
My Database
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / os.environ.get('DB_NAME'),
}
}
Any suggestions on troubleshooting ideas would be much appreciated.
Thank you!