Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying Django app on AWS Elastic Beanstalk : Application url shows only " Index of / "

I'm trying the deploy this :

https://github.com/agrawal-mohit/kudisavers

on AWS using EBS.

But the landing page show only " Index of / " : http://kudisavers.elasticbeanstalk.com/

I'm inexperienced with deployment et all and need some help on this. What is going wrong here?

Much thanks!

like image 774
mohit Avatar asked Nov 09 '22 20:11

mohit


1 Answers

If landing page show only " Index of / ", your project was deployed successful, but it failed while running django app (./manage py). So try ~$ eb logs in your project dir and find error while running your app. In my case there was default package "pkg-resources". You should remove it from requirements.txt .

like image 53
Andrew Avatar answered Nov 15 '22 07:11

Andrew