After following the steps in thoroughly to setup the app (working nginx and uwsgi configs), the site is able to load the login page.
However on logging through the username and password previously changed in config.txt, the site returns a 500 Internal Server Error. on route (/cards)
/general
Though I am able to go back to the login route and can see that my login state is indeed true as shown by the updated navbar.
Still, all the links (/cards, /general, /code) give a 500 Internal Server Error.
Interestingly, the logout route still works and I am able to log out successfully.
Is there any issue with the memory allocated to this app or have I done something wrong? Kindly tell.
Thank you
I realised that I hadn't initialised the database. Maybe the author can add this step (currently only commented in flash_cards.py) in the README as well.
After following the steps in thoroughly to setup the app (working nginx and uwsgi configs), the site is able to load the login page. However on logging through the username and password previously changed in
config.txt
, the site returns a 500 Internal Server Error. on route(/cards)
/general
Though I am able to go back to the login route and can see that my login state is indeed true as shown by the updated navbar.
Still, all the links (/cards, /general, /code) give a 500 Internal Server Error. Interestingly, the logout route still works and I am able to log out successfully.
Is there any issue with the memory allocated to this app or have I done something wrong? Kindly tell. Thank you